- Home /
animation & position problem
hello , I have a simple cube it's rotate in one axis and move to left or right. I add two animation to it ; the first animation is kick left or right and other one is kick with rotation but when I play animations the rotation or position get reset. I want to add animation to my cube and when rotation.x is 30' (for example) the animation add and play in 30' and don't reset rotation to zero or when I'm in (10,0,0) and play kick left or right the position add to (10,0,0) and play animation in there not come & and play in (0,0,0). excuse me for my English.
I should add an empty object to my cube parent and next give the animation to child and moving script to parent (separately)and then every thing solve. but after a working well I found another problem !! when I play kick with rotation animations every thing is true but when play kick left or right the object center jump up and then hang the rotation center.