Skip to content

3D jump (deprecated)

Jump and fall along Z axis.

Authors and contributors to this experimental extension: D8H, gabrielzv1233, TulenvakiProductions.

Warning

This is an extension made by a community member and it only got through a light review by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of fully reviewed extensions.


It handles basic collisions with 3D boxes but rotations around X and Y axes are not supported.

This extension is deprecated. The 3D physics engine should be used instead.

Tip

Learn how to install new extensions by following a step-by-step guide.

3D jump (deprecated)

Jump and fall along Z axis.

Behavior properties

  • Gravity (🔢 Number, Acceleration). Its value is always positive. Default value is 1000.
  • Jump height (🔢 Number). Its value is always positive. Default value is 150.
  • Jump sustain time (🔢 Number, Duration). Maximum time (in seconds) during which the jump strength is sustained if the jump key is held - allowing variable height jumps. Default value is 0.2.
  • Maximum falling speed (🔢 Number, Speed). Its value is always positive. Default value is 700.
  • Stop falling when Z equals 0 (🔘 Boolean). Default value is true.
See internal technical details
  • Gravity is stored as Gravity (Number). Unit is PixelAcceleration. Default value is 1000.
  • Jump height is stored as JumpHeight (Number). Default value is 150.
  • Jump sustain time is stored as JumpSustainDurationMax (Number). Unit is Second. Default value is 0.2.
  • Maximum falling speed is stored as MaxFallingSpeed (Number). Unit is PixelSpeed. Default value is 700.

    This behavior must be used on an object also having a behavior with type "Scene3D::Base3DBehavior". This is stored on property Object3D.

  • Stop falling when Z equals 0 is stored as ShouldStopAtZero (Boolean). Default value is true.

Behavior actions

Abort jump
Abort the current jump and stop the object vertically. This action doesn't have any effect when the character is not jumping.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::AbortJump.

Land on the floor
Stop the object from falling and land on the floor. The object will start falling again the next frame.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::Land.

Separate from platforms
Separate from walls and land on platforms. 3D boxes rotated around X and Y axes are not supported.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2 (👾 Object): Platform
  • Parameter 3 (🧩 Behavior): 3D capability

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SeparateFromPlatforms.

Allow jumping again
When this action is executed, the object is able to jump again, even if it is in the air: this can be useful to allow a double jump for example. This is not a permanent effect: you must call again this action everytime you want to allow the object to jump (apart if it's on the floor).

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetCanJump.

Current falling speed
Change the current falling speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetCurrentFallSpeed.

Current jump speed
Change the current jump speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetCurrentJumpSpeed.

Gravity
Change the gravity of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetGravity.

Jump height
Change the jump height of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetJumpHeight.

Jump sustain time
Change the jump sustain time of the object. Maximum time (in seconds) during which the jump strength is sustained if the jump key is held - allowing variable height jumps.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetJumpSustainDurationMax.

Maximum falling speed
Change the maximum falling speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Operator
  • Parameter 3 (🔢 Number): Value

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetMaxFallingSpeed.

Stop falling when Z equals 0
Change if stop falling when Z equals 0.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2 (❓ Yes or No): StopAtZero

Technical note: parameter 3 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SetShouldStopAtZero.

Simulate jump key press
Simulate a press of the jump key.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is Jump3D::Jump3D::SimulateJumpKey.

Behavior conditions

Can jump
Check if the object can jump.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::CanJump.

Current falling speed
Compare the current falling speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::CurrentFallSpeed.

Current jump speed
Compare the current jump speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::CurrentJumpSpeed.

Current vertical speed
Compare the current speed of the object on Z axis. Its value is negative when the object falls.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::CurrentVerticalSpeed.

Gravity
Compare the gravity of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::Gravity.

Is falling
Check if the object is falling.\nNote that the object can be flagged as jumping and falling at the same time: at the end of a jump, the fall speed becomes higher than the jump speed.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::IsFalling.

Is jumping
Check if the object is jumping.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::IsJumping.

Is on floor
Check if the object is on a platform.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::IsOnFloor.

Jump height
Compare the jump height of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::JumpHeight.

Jump sustain time
Compare the jump sustain time of the object. Maximum time (in seconds) during which the jump strength is sustained if the jump key is held - allowing variable height jumps.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::JumpSustainDurationMax.

Maximum falling speed
Compare the maximum falling speed of the object. Its value is always positive.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior
  • Parameter 2: 🟰 Relational operator
  • Parameter 3 (🔢 Number): Value to compare

Technical note: parameter 4 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::MaxFallingSpeed.

Stop falling when Z equals 0
Check if stop falling when Z equals 0.

See parameters & details
  • Parameter 0: 👾 Object
  • Parameter 1: 🧩 Behavior

Technical note: parameter 2 is an internal parameter handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is Jump3D::Jump3D::ShouldStopAtZero.

Behavior expressions

Expression Description
Object.Jump3D::CurrentFallSpeed() Return the current falling speed of the object. Its value is always positive.
Object.Jump3D::CurrentJumpSpeed() Return the current jump speed of the object. Its value is always positive.
Object.Jump3D::CurrentVerticalSpeed() Return the current speed of the object on Z axis. Its value is negative when the object falls.
Object.Jump3D::Gravity() Return the gravity of the object. Its value is always positive.
Object.Jump3D::JumpHeight() Return the jump height of the object. Its value is always positive.
Object.Jump3D::JumpSustainDurationMax() Return the jump sustain time of the object. Maximum time (in seconds) during which the jump strength is sustained if the jump key is held - allowing variable height jumps.
Object.Jump3D::MaxFallingSpeed() Return the maximum falling speed of the object. Its value is always positive.

This page is an auto-generated reference page about the 3D jump (deprecated) extension for GDevelop, the open-source, AI-powered, cross-platform game engine designed for everyone. Learn more about all GDevelop extensions here.