Parachute

Kibrjr

New member
Hello! I'm trying to create a parachute system, so, for that, I need to reset the fall damage, and the fall speed. Where can I access those values?
 
The CharacterHealth component has the max and min fall damage values.
You can do
characterHealth.MinFallDamage = characterHealth.MaxFallDamage = yourValue;
characterHealth.DeathHeight = Mathf.Infinity;

or

characterHealth.ApplyFallDamage = false;

and for the fall speed

m_CharacterLocomotion.GravityAmount = -0.2f;
 
Last edited:
Top