K Kibrjr New member Jul 18, 2022 #1 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?
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?
FastSkillTeam Active member Jul 18, 2022 #2 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: Jul 18, 2022
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;