Rapier 3D Physics — v2.28.3 update
A handful of new actions and expressions added this week, mostly aimed at platformer-style setups:
Velocity reading
VelocityX/Y/Z and AngularVelocityX/Y/Z expressions now return actual values each tick. Angular velocity is in rad/s.
Axis locks
Two new actions: Set enabled rotations and Set enabled translations. Pass true/false per axis to lock or unlock
movement/rotation — useful for keeping a character upright or constraining a body to a 2D plane.
Per-body gravity scale
Set gravity scale lets you override gravity per body. 1.0 = normal, 0.0 = weightless, -1.0 = inverted. Good for
low-gravity zones or floating objects.
Angular impulse
Apply angular impulse applies a one-shot rotational kick (X, Y, Z). Unlike Apply torque which needs to be called every
tick, this fires once and lets physics take over.
All four are available in the Body category in the action/expression picker.