- Home /
Two gameobjects with the same transform
So i am making a game, and in this game i want to be able to have multiple gameObjects in the exact same position. I set the 2 first Objects to have the transform 0.0.0, but one of them is higher than the other. I do not want to set one of them to 0.-3,0, because i want them to share the exact same transform (This is important for the game)
Answer by N-8-D-e-v · Sep 15, 2020 at 03:28 PM
They have different pivot points, if they are 2D sprites, you can set the pivot point using the sprite editor. If in 3D, just set a custom pivot with an empty gameobject. Also, check to make sure that they are not children of another gameObject, as the inspector then only shows local position, and not world coordinates
Omg thank you, i've been messing around with the pivot points for a while now, but turns out i just forgot to change the pivot point of every frame of the animations, i got it fixed now
Your answer
Follow this Question
Related Questions
mousePosition.x value type. (Equations involving coordinates) 1 Answer
Need insight on strange (simple) 2D object transform bug 0 Answers
Locating Position of Object not Working? 2 Answers
Setting my position to the position of a gameobject 0 Answers
Problem with Instantiate 2D object to right position C# 1 Answer