I've been trying to make a brick rotate without it moving its position how do i do that?
game.Workspace.Part.CFrame =
game.Workspace.Part.CFrame*CFrame.fromAxisAngle(Vector3.new(game.Workspace.Part),math.rad(.1))
I've been trying to make a brick rotate without it moving its position how do i do that?
game.Workspace.Part.CFrame =
game.Workspace.Part.CFrame*CFrame.fromAxisAngle(Vector3.new(game.Workspace.Part),math.rad(.1))
Unless the brick, viewed from the top, is a square, it is not possible to rotate a part without moving it's position. All I can say is that you simply have to account for this when writing a script that rotates bricks. What I would suggest doing is moving the brick to where you want in Studio, and then recording the rotation and position values, and move those in the script.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
How is it impossible, i've seen games rotate things before...