From the course: Maya: Dynamic Simulations with Bullet Physics

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Setting initial velocity

Setting initial velocity

In order to set our dominoes in motion, we'll need to knock over the first domino. We could do that by pushing it with a kinematic rigid body, but there's an easier way, just give it an initial velocity. And this is an unseen force that's built into the rigid body. Select that first domino and go over to the channel box and you'll see initial velocity x, y, and z. I do want to move the domino in the z axis. You can see z down here is this axis. If I give it an initial velocity z of let's say one, that will impart a force to that object pushing in z on frame one of the simulation. If we try to play the simulation now we might see some unexpected results. Basically what you have to do is let the simulation play through at least once for it to actually refresh. I'll press Play and you'll see that it does indeed fall over, but it's going in positive z and we need it to go in negative z. I'll set initial velocity z to negative one, press Enter, rewind and play back the simulation. And…

Contents