Add the option to automatically wake-up rigid-bodies a new joint is attached to
This commit is contained in:
@@ -46,7 +46,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
let prism = PrismaticJointBuilder::new(axis)
|
||||
.local_anchor2(point![0.0, shift])
|
||||
.limits([-1.5, 1.5]);
|
||||
impulse_joints.insert(curr_parent, curr_child, prism);
|
||||
impulse_joints.insert(curr_parent, curr_child, prism, true);
|
||||
|
||||
curr_parent = curr_child;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user