Skip to content

Rigidbody2D Jump

Jump action for a Rigidbody2D.

Set IsGrounded using a Physics2D Check Is Grounded action.

Set Jump using an input action like Input Get Button.

This action includes many parameters that you can tweak to make jumping feel just right. For a simpler jump action, use Add Force or Set Velocity instead.

Parameter Description
Rigidbody The Rigidbody to control.
Is Grounded Assign a variable that is true if the rigidbody is grounded. Use a Physics2D Check Is Grounded or similar action. Note: grounded actions often include a coyote time setting.
Jump Assign a variable that is true to try to jump. Use an input action like Input Get Button to set this.
Jump Speed The upward speed to apply when jumping.
Jump Event Event sent when the Rigidbody jumps.

Usages

Used in platformers to make a character jump.