- Home /
Can I set a custom pivot point for an empty GameObject?
I must rotate a group of objects relative to a certain pivot point (including the main camera itself). They are all under a parent empty GameObject. So it would be cool if I can specify the point in x, y coordinates for the parent object. How can I achieve that? Should I add a component or what?
Why don't you create a mesh in your modeler tool, move the pivot wherever you'd like it to be and finally disable its renderer component in unity, so that it is invisible?
Why don't you just create an emptygameobject at the required pivot point, and make it a parent of everything that should rotated, and then rotate this gameobject? So in your case, you can make the empty gameobject that you already have a child of the new gameobject which sits at teh pivot point.
Answer by ExCx · Nov 26, 2014 at 12:21 AM
Yeah, I just created another empty object for parent and position it accordingly.
Missing the simplest things sometimes...