when having an object follow the mouse it's orientation is switching to 0,0,0 when it should be at -90,90,0
here is the code im using Local mouse = Player:GetMouse()
1 | mouse.TargetFilter = game.Workspace.HAND_TRACER |
2 |
3 | while wait() do |
4 | game.Workspace.HAND_TRACER.CFrame = CFrame.new(mouse.Hit.p) |
Use this:
1 | mouse.TargetFilter = game.Workspace.HAND_TRACER |
2 |
3 | while wait() do |
4 | game.Workspace.HAND_TRACER.Position = mouse.Hit.p |
5 | game.Workspace.HAND_TRACER.Orientation = Vector 3. new(- 90 , 90 , 0 ) |