Change jump height

There are no stupid questions, just stupid answers.
3 posts Page 1 of 1
NekoDemon117
Posts: 35
Joined: Thu Feb 19, 2015 1:09 pm
by NekoDemon117 » Mon Feb 13, 2017 10:57 pm
I want to double how high the player can jump. I also want to increase how far the player can fall before taking damage by about 33%.

How would I do this in the script files?
Duion
Posts: 673
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Mon Feb 13, 2017 11:53 pm
https://github.com/GarageGames/Torque3D ... er.cs#L550

Falling damage is a bit tricky, try to play with the values below about impact and impact speed and falling speed threshhold etc.
NekoDemon117
Posts: 35
Joined: Thu Feb 19, 2015 1:09 pm
by NekoDemon117 » Tue Feb 14, 2017 12:12 am
Thanks. I doubled the jumpForce and now I jump higher.

On increasing falling damage height, I seem to have gotten what I'm after by simply changing fallingSpeedThreshold from -6.0 to -12.0.
3 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest