Behavior : Angular speed clamp
Author:Rex.Rainbow
- Clamp angular speed between upper and lower bounds.
Download
Properties
Activated
- Enable if you wish this to begin at the start of the layout.
Upper bound
- Upper bound of speed, in degrees per second. Negative is rotation anti-clockwise.
Lower bound
- Lower bound of speed, in degrees per second. Negative is rotation anti-clockwise.
Actions
Bounds
Action:Set upper bound
- Set upper bound of speed.
- Upper bound ( number ) : Upper bound of speed, in degrees per second.
Action:Set lower bound
- Set lower bound of speed.
- Lower bound ( number ) : Lower bound of speed, in degrees per second.
Setup
Action:Set activated
- Enable the object's speed clamp behavior.
- Activated ( Combo ) : Enable the behavior.
Expressions
Bounds
Expression:UpperBound
- Upper bound of speed, in degrees per second.
Expression:LowerBound
- Lower bound of speed, in degrees per second.
Speed
Expression:CurSpeed
- Get current speed, in degrees per second.
Conditions
Hit
Condition:On hit upper bound
- Triggered when speed hit upper bound.
Condition:On hit lower bound
- Triggered when object hit lower bound.