Use the Stabilizer node to for example keep the target object standing up, hovering on the ground or rise up after falling over.
The node has an output is On Ground which sends out the information whether the object is on or above the ground. This can be used for a ground-check for game features such as a jump action.
Attach to | The target object the effect is applied to |
Enabled | Enable or disable the node If disabled the Stabilizer has no effect on the target object |
Dampen Gravity | Dampens the effect of gravity on the object |
Dampen Flying | “Air resistance”. Dampens the object’s movement in the air |
Stabilize Upwards | Attempts to keep the object standing up when it's about to fall over |
Upwards on Air | Attempts to keep the object pointing upwards when it is in air |
Scale with Object | Scales the effect based on the scale of the target object |
Shape Bottom As Hover Point | Sets the bottom of the target object as the hover point |
Hover Distance | Defines the height at which the object will hover |
Lifting Force | The amount of force applied to the object to keep it hovering |
Turning Force | The amount of force applied to the object to keep it upright |
Dampen X / Y / Z | Dampens the movement on each axis |
Force Downwards | Additional “weight”. Adds constant downwards force to the object |
Quality | Set how frequently the Stabilizer performs its checks |
Is On Ground | Sends signals continuously. Outputs value 0 if the object is in the air and 1 if the object is on the ground |
Here's a link to a demo that shows how to use the Stabilizer node: