can't choose the position of the empty object my character is a child of

you know when you make a few objects a child of an empty object so you can move them all around together? when I set a position for the empty parent object, it doesn’t stay in the same position once I add the objects. this is problematic for me as I want this object to rotate around a point and it doesn’t work if the parent object isn’t in the place I need it to be. is there a way of making it so the parent object remains in the place I want it to be?

1 Like

Objects don’t move unless something moves them. I’m willing to bet that that either there’s a script moving the empty object somehow, or it isn’t actually moving.

If you are adding the objects as children in runtime, then the children will stay where they are in world space in the frame they are added. Not sure if this is relevant to your problem, but it could be.

Can you describe what you’re trying to do and what’s actually happening in more detail?

I didn’t mention anything about runtime in the op. I’m talking about in the scene when the game isn’t running, when I add objects to an empty gameobject the empty object changes its position

That’s why I used “If” as a qualifier; you didn’t say it was in edit-time either. Can you reproduce this in a new project?

Also, I hate to ask this, but please confirm that the position of the parent is moving and not just the gizmo. I.e. make sure the object is really moving and it isn’t just a visual thing: Empty Parent GameObject Moving with Child - Questions & Answers - Unity Discussions

It’s probably the tool handle moving to the center of selection, now that you add a game object with a different location, the center moves, so the tool handle or gizmo moves. There is a button near the top left to switch pivot or center. Better yet, create a cube as the Parent “empty” game object, this way you can see it physically for now. Good luck.

2 Likes

thanks. problem solved. been plaguing me for days lol