ZBrushCentral

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

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


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. :slight_smile:

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