How do I make animations affect physics properly?

I have a ball, and a block placed next to it. I want to animate the block to set the ball rolling.

When the animation plays, the ball moves with the block, and then stop. I have changed the animation to be very fast, without any apparent effect. The animation has “Animate Physics” ticked.

Am I doing something wrong? Is Animate Physics not working as I expect? Is the only way I can get the desired behaviour to fake it?

Sounds to me like it should work as expected (although I haven’t experimented a lot with physics). Maybe you have your mass, friction or some settings like that wrong?

Turns this only works if the animated object is kinematic.

From the docs:

http://unity3d.cba.pl/Documentation/Documentation/ScriptReference/Animation-animatePhysics.html

(Seem to have missed this :slight_smile: