Behavior : Turntable

Author:Rex.Rainbow

Download

Properties

Actions

Target angle

Action:Start spinning

  • Spin this object to the specific angle with a deceleration.
    • Turns ( number ) : Number of turns.
    • Clockwise ( Combo ) : Rotate clockwise or anti-clockwise.
      • Options : ["Anti-Clockwise","Clockwise"]
    • Angle ( number ) : The angle to rotate toward, in degrees which between 0 to 360.
    • Deceleration ( number ) : The deceleration setting, in degrees per second per second.

Expressions

Current

Expression:Speed

  • The current object speed, in degree per second.

Setting

Expression:Dec

  • The deceleration setting, in degree per second per second.

Target

Expression:TargetAngle

  • The target angle to spin toward.

Conditions

Condition:Is rotating

  • Is object rotating.

Speed

Condition:Compare speed

  • Compare the current speed of the object.
    • Comparison ( cmp ) : Choose the way to compare the current speed.
    • Speed ( number ) : The speed, in degree per second, to compare the current speed to.

Target

Condition:On hit target angle

  • Triggered when hit target angle.