For my game I have a box collider on my character that controls a few things such as jumping. The problem is when I play my characters death animation ( falls and lays flat on the ground ) and then play the run animation it will cause the character to be half way through the ground. Even if I spawn the player high above the terrain before playing the run animation again the character will still be half way into the ground. So my question is can an animation cause a box collider to change positions?
If its attached to the correct transform.
This sounds like your animation changing the position of your player. You could create an empty gameobject and make the player a child to stop this happening.
Fixed it by reversing death animation before playing run. Thanks for the advice was a quick fix.
hello i have same problem here, 1 character with animation and box collider(playig animation effecting both player position and specially box collider attached to the character).
waiting for your suggestions.