My object has been rotated randomly for some reason on all axis. When I import it into Unity the rotation still applies. How can I reset it so it's the right way up?
-
$\begingroup$ Depending on the case, you can reset rotation or apply rotation. See blender.stackexchange.com/questions/7298/… $\endgroup$– Mr ZakCommented Jul 8, 2016 at 8:54
-
$\begingroup$ I tried doing this but there is no values to reset. It's like it forgot it was rotated at some point. $\endgroup$– dave88Commented Jul 8, 2016 at 8:59
-
$\begingroup$ Was the object rotated in Edit mode ? $\endgroup$– Mr ZakCommented Jul 8, 2016 at 9:01
-
$\begingroup$ I think so, I had some trouble with the camera and for some reason the object ended up rotated badly. $\endgroup$– dave88Commented Jul 8, 2016 at 9:02
-
$\begingroup$ Also please clarify what the trouble did you have with camera. If it means that it is the camera rotated then it's a simple matter of resetting / cleaning that rotation and scene meshes have nothing to do with that. $\endgroup$– Mr ZakCommented Jul 8, 2016 at 11:00
1 Answer
The rotation which was done in Edit mode can't be reset as it would be possible with rotation in Object mode. Depending on the case, it's possible to use workaround.
Create an empty. While still in Object mode, enable Snap During Transform and choose Snap to Face as type of element. Enable Align Rotation With the Snapping Target button.
Grab empty, hovering the mouse over faces which should be rotated along world axes. I.e. in case of building this will be faces representing the floor.
Once empty is snapped, it gained new rotation values. Parent object to the empty with Ctrl+P.
Select empty and clear its rotation transforms (Alt+R). Object will follow changed rotation and should become aligned along world axes (or at least roughly aligned).
Clear Parent with (Alt+P) by selecting Clear and Keep Transformation.
Select empty, then delete with X.
-
$\begingroup$ The links you posted are broken now, could you please update in the description how to do these operations? $\endgroup$– JonathanCommented May 10, 2020 at 23:30
-
$\begingroup$ What is the part you do that highlights the box in blue? I am still not getting it 100%. It would help if I could pause the video. $\endgroup$– JonathanCommented May 10, 2020 at 23:39
-
$\begingroup$ @Jonathan yes, most links to manual are being rebuilt quite constantly (and broken). I edited them for now given the version I was writiting the answer for. I'd suggest looking in google queries from the link description when you face similar case. For your second question, I clicked the object to select it; it was blue highlight in that UI theme. As there's only gif image here unfortunately no way to pause it unless installing an addon for the browser; there are keyboard shortcuts shown in the bottom left, maybe they could help $\endgroup$– Mr ZakCommented May 12, 2020 at 14:52