Hello,
I am having problem with changing position of GameObject with attached animations via scripting.
Command:
myGameObject.transform.position = Vector3(0,1,2)
does not do anything. The myGameObject still resides on its original position, while none of its animations are being played.
It seems like the existing animations of GameObject override commands for position change, even if these animations are not being currently played.
Once I delete all existing animations of the GameObject, I can change its position again as expected.
Do you not feel limited by this?
It is possible to get around this through hacks - like using duplicate gameObjects stripped of animations, or targeting parenting gameObjects, but it feels like incredibly cumbersome workaround for rather basic functionality.
What do you think?
George