- Home /
I drag a rotated object to a parent - and it has totally different rotation.
When I make a scene in Unity I try to drag some objects to the parent object and if some of them were rotated - when dragged they have wrong rotation, everything look very bad.
How can I fix it?
Answer by cryingwolf85 · May 24, 2014 at 11:20 PM
I'm guessing you are doing this in 2D, and you are dragging a non-empty game object onto another non-empty game object, since I have replicated your issue.
Create an empty game object (GameObject -> Create Empty) and drag all of your children objects onto the empty game object: this will keep their individual rotations.
it's in 3d. well, that's weird :( You have to hang everything to the empty game object to keep rotations.. that's not convinient
@vladdrummer - You don't need to use an empty game object. I'm not sure of your issue, but note that the angles show in the inspector are angles relative to the parent.
Your answer
Follow this Question
Related Questions
Have an object continuously rotate towards another 1 Answer
Rotation around an axis, how unity handle this? 3 Answers
Build rotation tool for level editor 0 Answers
Child ignoring parent rotation? 1 Answer