1 Like

Here’s how you can make a custom shift lock system

RootPart.CFrame = CFrame.lookAt(Vector3.zero, Vector3.yAxis:Cross(Camera.CFrame.RightVector)) + RootPart.Position

This gets a vector that’s perpendicular to the right direction of the camera and the up direction of the world using Vector3:Cross() function and adds RootPart.Position to keep it’s position

1 Like

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