Hello, I’m trying to change only the position in CFrame. But when I insert LookVector into the argument, it is not correct.
What is the correct way to set position without rotation?
viewmodel.CFrame = CFrame.new(Pos, viewmodel.CFrame.LookVector);
Hello, I’m trying to change only the position in CFrame. But when I insert LookVector into the argument, it is not correct.
What is the correct way to set position without rotation?
viewmodel.CFrame = CFrame.new(Pos, viewmodel.CFrame.LookVector);
The solution turned out to be the most non-intuitive.
Thinking about writing my own wrapper for CFrame.
viewmodel.CFrame = CFrame.new(position) * viewmodel.CFrame.Rotation;
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.