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 limit properties

Setting limit properties

Having set limits on the constraint, now we're ready to fine tune the simulation. If you look closely when you play back, you may see that the door jumps a little bit on frame one. And that's once again due to the collision shape margin. Let's select the door, the ball, and the ground plane. Go over to the channel box and scroll down to the very bottom. And set the collider shape margin to 0.001, and then we rewind and playback we won't see the object jump like that. Remember that you may need to let the simulation play through completely from beginning to end once, in order to fully update the simulation. Okay. Now, we can control the amount of bounce back from the constraint. And the way to do that is to go into the constraint node and the attribute editor, Ctrl+A. And in the Limit Properties you will see angular limit softness, limit bias, and limit relaxation. And these control the amount of bounce. Angular limit softness is actually kind of paradoxical because as you increase…

Contents