1. #1
    Senior Member User Gallery
    Join Date
    Jun 2002
    Location
    USA
    Posts
    608

    Question Zscript question

    Im working on my first z script trying to make a cone rotate. when I run the zscript, it says I have to be working with a 3d object in rotate mode. what is rotate mode, and how do I get my cone there?

    David

  2. #2
    Senior Member User Gallery
    Join Date
    Apr 2001
    Location
    USA
    Posts
    2,205

    Smile

    That just means your object needs to be active. So you want to first draw the object, then rotate it. For example:

    [code][/code]

    This code selects the Cone3D tool. Then it draws it on the canvas (at 0, 0, 1, 1). Finaly the TransformSet is used to place, size, and rotate it. The 200s are position, the 100s are size, and the 0s are rotation. Those numbers can be changed to rotate the cone.

    Does this help? Let me know if you need more info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •