I want a part to face the LookVector of a CFrame. I am not allowed to change the position at all, just the orientation. The vector I want to set the orientation of the part to is this:
local CastDirection = CFrame.new(RootPos, Vector3.new(ClickPos.X, RootPos.Y, ClickPos.Z)).LookVector.Unit
How can I make that part face the CastDirection?
part.CFrame = CFrame.new(part.Position,CastDirection)