Hey there,
I'm trying to create a ground pound ability, it gets activated when the player jumps (is airborne) and the player holds the crouch button. Whilst the crouch button is being held I want to the player to just freeze in the air, then when the button is released they will pound toward the ground.
I have this set up as two separate abilities (the in air freeze and the pound toward the ground). Everything is working as it should however I can't for the life of me get the player to freeze whilst in the air. I think it has something to do with the previous force from the jump or fall still being applied when this ability is active.
I have set the in air freeze ability to not use gravity, and block the fall ability from starting. I have also tried to update the position of the character with the UpdatePosition() override, however none of this seems to have any effect.
Is there a particular method or physics check I need to use to do this? I can't seem to find anything on the docs other than disabling gravity.
Any help would be appreciated.
Cheers,
Robbie.
I'm trying to create a ground pound ability, it gets activated when the player jumps (is airborne) and the player holds the crouch button. Whilst the crouch button is being held I want to the player to just freeze in the air, then when the button is released they will pound toward the ground.
I have this set up as two separate abilities (the in air freeze and the pound toward the ground). Everything is working as it should however I can't for the life of me get the player to freeze whilst in the air. I think it has something to do with the previous force from the jump or fall still being applied when this ability is active.
I have set the in air freeze ability to not use gravity, and block the fall ability from starting. I have also tried to update the position of the character with the UpdatePosition() override, however none of this seems to have any effect.
Is there a particular method or physics check I need to use to do this? I can't seem to find anything on the docs other than disabling gravity.
Any help would be appreciated.
Cheers,
Robbie.