Is there a way to rotate a CFrame towards a LookVector?
And if how?
Is there a way to rotate a CFrame towards a LookVector?
And if how?
A look vector is a unit vector from the origin point which is (0, 0, 0)
If you want it to be from any other point you just add it to the look vector, so CFrame.lookAt(Position, Position + LookVector)
should give you the desired result
CFrame.lookAt(position, position + lookVector)
yeah but i wanna change the rotation of the Cframe not the position
CFrameVariable = CFrame.lookAt(CFrameVariable.Position, CFrameVariable.Position + LookVector)