Need help understanding how Humanoid applies force to character when jumping

I can’t make the title fully understandable, so here is a longer explanation of what I want to know. :grin:

When a Humanoid jumps, how exactly is the force calculated and applied? Is it calculated with a singular part’s mass multiplied by the JumpPower? Is it the JumpPower being applied to every limb of the character? Or is it another technique? :thinking:

All answers are appreciated, and I apologise if there’s already a topic identical to this. I just couldn’t find one covering this. :smiley:

2 Likes

Roblox uses specific properties and physics to calculate how the force is applied when a humanoid jumps. Your JumpPower determines the force applied to the character when they jump. Which is a scalar value that represents the upward force. Then the force is applied to the HumanoidRootPart as it is the main part of the character which controls physics etc. Your JumpPower is used to apply a vertical velocity to the HumanoidRootPart. So all it’s doing is setting the vertical velocity to the value of your JumpPower once the jump is initiated. Then the Roblox physics engine takes over to simulate the resulting movement. Gravity and other forces are applied naturally as part of the physics simulation.

For Example: If the JumpPower is set to 70, the HumanoidRootPart’s vertical velocity will be set to 70 when the jump starts. The character’s jump height and trajectory will then depend on this initial velocity and the effects of gravity.

Some things to keep in mind, when going back to the explanation of what the HumanoidRootPart does in this situation you should know that the individual masses of the character’s limbs do not directly affect the jumping force since the force is applied to the HumanoidRootPart, not each limb separately. And this may be self explanatory but the actual jump height achieved by the character is influenced by gravity, which is a constant force pulling the character downward during the jump.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.