How to get orientation of model

Like this? OrientationY:PivotTo(OrientationY + Vector3.new(0,24,0)) Still not working

m:PivotTo(CFrame.new(m:GetPivot().Position) * CFrame.Angles(X, math.rad(math.deg(Y) + 24), Z)
1 Like

If you donā€™t wanna go through the process of getting an orientation of a model, you can always set the modelā€™s primary part to some part in your model and get the orientation of that. You can then weld all parts to this one primary part if you are trying to rotate an entire model.

This seems more complicated than actually doing it

Position is not a valid member of Model ā€œWorkspace.Modelzā€

Sorry I edited the code it should work now

1 Like

You asked: How to get orientation of model
Is your real question How to change orientation?
Is this a model or a part?

What are you trying to do here? (in full)

Thank you for all your help!!

This text will be blurred

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