How would one go about making a part face the direction of a player? I am making a minimap and doing some math, but in order for my method to work, I need the angle. I am trying to accomplish this by tracking the angle of a part.
1 Like
I’m not entirely sure if this is what you’re looking for, but CFrame allows you to have one object face towards another object using CFrame.
Usage:
CFrame.new ( Vector3 pos, Vector3 lookAt )
Example:
function lookAt(target, eye)
return CFrame.new(target, eye)
end
1 Like
You can do:
Part.CFrame = player.HumanoidRootPart.CFrame
1 Like
I just looked at someone else’s post with a car and I saw this. Thanks so much though!
1 Like