This Behavior rotate community component allows an object in the scene to spin around an axis when triggered. Attach this component to the object to rotate.
This component includes:
|Determines the type of rotation, either Circle or Arc. Specify the angle if you choose Arc.
|The central axis of rotation
|Determines the direction of the circular movement
|The time it takes to finish a circle or an arc in seconds
|Specifies the number of rotations
|Determines the loop type, either One-way or Two-way. If you choose One-way, the object always rotates in the same direction. If you choose Two-way, the rotation direction changes to the opposite whenever the previous rotation finishes.
|Determines the condition of the object rotation:
|Specifies the trigger event name for object rotation. For example, it can be entered as registered in the AiGameEventRelay component. This field is only visible when the Condition is set to Event.
|Enter the name of an event to be emitted after all other settings of this Behavior rotate component have been executed.