i am trying to animate 2d objects via animation.
say i have a truck sprite and i want it to go forward rotate 180 deg and come backward
i have animated the x component of position and z component of rotation.
but,the y and z component are automatically included for position property. even after deleting there key frames both the property are assumed to be 0. for all frames.
what i want is if I instantiate the truck object anywhere on the screen only the x component gets affected .
but in my case the y and z are turning to 0 on there own.