Hi,
I have added height damage to my player when falling from a certain height. The floor is a trigger collider for damage to player when enemy is up on a high point gets activated and switched off just after player dies. I was trying to figure a way to have a higher gravity speed when high up so it looks more dramatic as it falls. I was thinking on trigger event at peak height, ceate the new ability / Gravity added to the Locomotion Character Controller
using Opsive.UltimateCharacterController.Character.Abilities;
Then apply some AddForce code. Is this the best approach for change of gravity during game or can I change the actual gravity value rather than apply additinal force? Will Opsive align to gravity zone do this?
I have added height damage to my player when falling from a certain height. The floor is a trigger collider for damage to player when enemy is up on a high point gets activated and switched off just after player dies. I was trying to figure a way to have a higher gravity speed when high up so it looks more dramatic as it falls. I was thinking on trigger event at peak height, ceate the new ability / Gravity added to the Locomotion Character Controller
using Opsive.UltimateCharacterController.Character.Abilities;
Then apply some AddForce code. Is this the best approach for change of gravity during game or can I change the actual gravity value rather than apply additinal force? Will Opsive align to gravity zone do this?
Last edited: