Animation object in wrong place

[9716-howtofixanimations+(how+it+should+be).jpg|9716] but they are without animation

if I only change them to start heaving animation:

instead of their own position like script doesn’t even change their transform.position

the way I’m creating each floor
Spawner returns me instantiated GO

and this is 1 of inside for loop

and this is inside the master parent inside witch one they are all spawning

GO = SpawnerScript.CreateMeF(Type);
GO.transform.position = new Vector3 (transform.position.x + i, transform.position.y + 0.4f, transform.position.z + ii + x);
GO.transform.parent = transform;

1 Answer

1

ok I’ve figured out that actually animation overwrites the transform.position

so what I had to do is make 2 bones and ONLY animate the rotation of bones nothing else now it works as it should have