I'm creating a grapple hook mechanic.
The elements of this particular situation are a Player and a grapple point.
I would like the top of the player to always be pointing towards this grapple point. (the up vector of the player is pointing along the vector to the point).
The default Unreal CharacterMovementComponent is in the falling movement mode right now, and the player's rotation around the Z axis is determined by the movement input. The X and Y rotations are unchanged.
Because the player's position around this grapple point could be anywhere on the sphere of influence of the rope, I never have a definite axis to rotate around to point the up vector towards the grapple point.
How do I achieve something like this?