The ball is collide normally when i freely play the game but when an animation start (the box is moving to other location) the collision is nor work as it should and the ball pass through the wall.
here is two shots
any ideas?
The ball is collide normally when i freely play the game but when an animation start (the box is moving to other location) the collision is nor work as it should and the ball pass through the wall.
here is two shots
any ideas?
did you animate the box inside the 3d modelling software or in Unity?
If you did the animation inside the 3d modelling software, the problem occurs most probably because the box mesh shift away from its collider… Anyway, try to “animate”/move the box using transform.Translate()…
i tried both, animate inside unity and import animation from XSI.the only solution i find and fix the problem is to make the ball child of the box and works perfect. thnx anw.