How do you find the direction a HumanoidRootPart is facing?

I want to be able to see what object my character is climbing on using raycasts. By that I mean when a player starts climbing, a raycast is made from the humanoidrootpart to right in front of it(Which is the climbable object the character is climbing on). Is there any way to do this?

1 Like
HumanoidRootPart.CFrame + HumanoidRootPart.CFrame.LookVector * Vector3.new(3, 0, 3)

the numbers in the Vector3 are how far the position is gonna be infront of the humanoidrootpart

RobloxStudioBeta_rTFzb2feJc

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.