Custom gravity is a new functionality introduced in Unreal Engine 5.4 by Ari Arnbjörnsson for Unreal's character movement component and input controls. Basically a new gravitational direction can be set for the movement component, physics for the character and for the control rotation and player input movement directions. We altered the third person custom gravity from Unreal's tutorial to a first person (FP) - and later VR character movement. Video shows proof of principle of our approach for FP character. When the character steps on the spheres, it is rotated and the gravity direction is changed to be normal on the next path segment.
Unreal's tutorial for custom gravity:
https://dev.epicgames.com/community/l...
#unrealengine5 #unrealengine #gamedev