Ad
Log in to vote
0

[SOLVED] How do I get the position left/right to the lookVector of a player's HumanoidRootPart?

Asked by 4 days ago
Edited by Xapelize 4 days ago

Right now I'm using this:

local pos = owner.HumanoidRootPart.CFrame + (owner.HumanoidRootPart.CFrame.lookVector * -6) to get the position behind the player using the lookVector of the HumanoidRootPart.

I am trying to figure out how I would get the right or left of the lookVector too

1 answer

Log in to vote
1
Answered by 4 days ago

Turns out I was able to simply just do this:

owner.HumanoidRootPart.CFrame.RightVector
Ad

Answer this question