Gravity does not affect PhysX Character Controller + Gameplay entity if it is on ground #16196
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/major
Major priority. Work that should be handled after all blocking and critical work is done.
sig/simulation
Categorizes an issue or PR as relevant to SIG Simulation
Describe the bug
After PhysX Character Controller + PhysX Character Gameplay entity reaches ground, the gravity stops affecting it, even after the PhysX Character Gameplay Gravity Multiplier is modified. If the ground is moved from under the stationary PhysX Character Controller + PhysX Character Gameplay or a velocity is applied to it so that it leaves ground, the gravity will be applied as expected.
It should be noted that if the entity is blocked from above (so the bottom of the PhysX Character Controller is not on ground), it won't prevent the Gravity from being applied. Only while the entity is on ground can this issue be observed.
Assets required
Steps to reproduce
Expected behavior
After the message is printed to the Console, the entity starts ascending.
Actual behavior
Nothing happens, entity remains stationary.
Video
PhysXCharacterControllerGameplayGravity.mp4
Found in Branch
Development (8ef37d5)
Commit ID from o3de/o3de Repository
8ef37d5
Desktop
The text was updated successfully, but these errors were encountered: