Answer the question
In order to leave comments, you need to log in
How to make a door in Unity?
The problem is, there is an empty object, there is another object on it (this is a door, and an empty object is something like "hinges" on it, further as object1 (empty) and object2 (the door itself).
So, to rotate
object2 not around its axis (the door does not rotate along its axis), I need it to have "hinges", which the door will be a child of and the door, and when you try to rotate it, the door just spins around its axis.
How to fix this? maybe I clicked something by accident, but now I don’t understand what.
I need to specifically select object1 without paying attention to object2 (I used to always do doors like this , and it seems logical, but something is not very)
For those who do not understand what I want, point by point:
1. create "hinges" (an empty object)
2. create a door and make it a child of the hinges
3. rotate the "hinges" around its axis (since the door is a child of it, it will also rotate, creating the illusion of "opening" "doors)
but this is why it doesn't work, again, and when you try to rotate object1, the whole structure rotates :(
Answer the question
In order to leave comments, you need to log in
I'm b#%[email protected] dumb to the impossible, instead of center you need to choose pivot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question