I’m creating a game where players can grapple onto objects and swing. Although the grappling system is working, the character doesn’t have any rotations to make them look like they are hanging from a rope.
Essentially, I want my ThirdPersonCharacter’s upward orientation to always point toward a location (the location they are grappling to).
This is what I mean by upward orientation facing the grapple location: GIF | Gfycat
Try either, GetVelocity(CharacterActor), GetComponentVelocity(CharacterComponent) or GetPhysicsLinearVelocity(CharacterComponent). Normalize it. Replace MakeRotFromZ with MakeRotFromXZ, Feed the normalized CharacterVelocity into X and the normalized GrapplePoint-CharacterLocation into Z.