A list of all Actions, Conditions and Expressions supported in this addon.
-
Actions
Set {my} enabled {0}
Enable or disable the behavior.
Set {my} velocity to ({0}, {1})
Set velocity in px/s.
Set {my} speed {0} at angle {1} deg
Set speed (px/s) and direction (deg).
Add ({0}, {1}) to {my} velocity
Add an impulse (px/s).
Set {my} restitution to {0}
Set restitution [0-1].
Set {my} max bounces to {0}
Set maximum number of bounces (-1 = unlimited).
Reset {my} bounce count
Reset the internal bounce counter.
Set {my} min speed to stop to {0}
Stop when speed falls below this value.
Set {my} substepping to steps {0}, max step {1} px
Configure substepping.
Set {my} separation epsilon to {0} px
Small push to avoid sticking after bounce.
Set {my} use surface normal {0}
Reflect using collision surface normal (supports inclined surfaces).
Set {my} constant bounce speed enabled {0}
Maintain a constant speed after each bounce.
Set {my} constant speed to {0} px/s
Speed to enforce after a bounce.
-
Conditions
{my} On bounce
Triggered when a bounce is resolved.
{my} On stop
Triggered when the behavior stops (speed too low or max bounces).
{my} bounce count {0} {1}
Compare the current number of bounces.
{my} is enabled
Check if the behavior is enabled.
-
Expressions
VelocityX
Current X velocity (px/s).
VelocityY
Current Y velocity (px/s).
Speed
Current speed (px/s).
Angle
Current angle (degrees).
BounceCount
Current bounce count.
LastBounceAxis
Axis of last bounce (x, y, or xy).