Reputation: 39
I'm using unity 3d v. 5.12 and for some reason, when I'm using an animation (made with unity, *.anim), any changes to a game Object's position are not applied. Please help. I'm totaly new to unity.
Upvotes: 1
Views: 6847
Reputation:
Before recording your animations, you should setup the properties of the animation by adding "transform position/transform rotation" in the animation window.
Once you're done recording your animation:
[Setup your object with its animation controller]
Your object will now rotate/move independently of the objects rotation/position
Upvotes: 2
Reputation: 21
Upvotes: 1
Reputation: 1222
If your animation is animating position component then any changes to position during animation is playing will not affect gameobject it will be controlled by animation. Same case applies to imported animations as well . And not only position if any other component is controlled by animation it will not be affected by code during animation is playing i.e scale rotation etc..
Upvotes: 1