NoveltyML reference > Object traits > ConstantRotation

<ConstantRotation>

Rotates an object by a constant degree.


Attributes

Attribute Description
speed Rotation speed
preview Preview in editor?


speed [angle]

Rotation speed (angle/second).

Example:
speed = "90d"


preview [bool]

When set to true, this trait will animate in the Novelty editor. Default is false.

Example:
preview = "true"


Example

<Traits>
	<ConstantRotation speed="2" />
</Traits>

Back to top