Skip to content

JumpMovement

Bastiaan Olij edited this page Feb 4, 2022 · 2 revisions

Introduction

The jump movement function is by far the simplest of the movement functions we have available in the toolset. It simply allows the player to jump using controller input instead of a physical jump by the player.

Not all players might find this comfortable however in some games it is more practicable to be able to react on a specific jump function than to have the player actually perform a jump.

Setup

The jump movement is implement as a function scene that can be added to the controller that is used for the jump input.

Note that the PlayerBody node is added automatically if it does not already exist. It is on this node that you can set physics properties that control the jump strength.

Configuration

Property Description
Enabled When ticked the movement function is enabled.
Order The order in which this movement is applied when multiple movement functions are used.
Jump Button Id The button on the controller that triggers the jump movement.
Clone this wiki locally