How to get a Gameobject's origin to the center of it instead of the edge?
I have two different wall gameobjects. When i put both of them at 0,0,0 of the world coordinates, one of them is right in the middle (the 0,0,0 is in the middle of the wall, and it pivots around this point), but the other is left to it (the 0,0,0 is at the right edge of the gameobject, and it pivots around its own middle).
Why is that, and how can I change it? I need the second object to also have its origin/pivot point at 0,0,0 when it's placed there.
Answer by meat5000 · Mar 05, 2018 at 08:32 PM
If you made them in a modeller, go back and reset the Origin, making sure to 'apply' Transform. Re-export/import.
If this is not possible and you can not simply duplicate and flip the working one you can try making it the child of an empty object.
Your answer
Follow this Question
Related Questions
Bullet flying vertical 2 Answers
Making Prefabs with new origin from imported model? 0 Answers
How can the pivot point of a object be changed during Runtime? 0 Answers
smoothly going forward to the center of one tile at a time 0 Answers
How to center an object to a camera, but away from it? 1 Answer