Rigidbody2D Apply Kinematic Ground Velocity
Checks if the supplied ground Rigidbody2D is kinematic and apply it's velocity.
| Parameter | Description |
|---|---|
| Rigidbody | The Rigidbody to control. |
| Ground | The ground Rigidbody2D, typically returned from a GroundCheck action. |
| Gravity Multiplier | Gravity multiplier to apply to gravity when on kinematic ground. This can be used to make the character stick to fast moving platforms. |
Usages
One way to implement moving platforms in a platformer.