Skip to content

Behavior revolve

This Behavior revolve community component allows an object to move around an point and axis when triggered. Attach this component to the object in the scene. For a smooth gaming experience, it's recommended to attach only one Behavior move component to an object.

This component includes:

Property Description
Revolution Type Determines the type of revolution, either Circle or Arc. Specify the angle if you choose Arc.
Center point The central point of revolution
Axis The central axis of revolution
Direction Determines the direction of the circular movement
Time The time it takes to finish a circle or an arc in seconds
Move No. Specifies the number of movements
Loop Type Determines the loop type, either One-way or Two-way. If you choose One-way, the object always revolves in the same direction. If you choose Two-way, the revolution direction changes to the opposite whenever the previous revolution finishes.
Condition Determines the condition of the object revolution:
  • Auto play, the object revolves automatically
  • Event, the object revolves when a specific event occurs
Event name Specifies the trigger event name for object revolution. For example, it can be entered as registered in the AiGameEventRelay component. This field is only visible for the Condition is set to Event.
Final event Enter the name of an event to be emitted after all other settings of this Behavior revolve component have been executed.