Call update_world_mass_properties from RigidBody::set_mass_properties

This commit is contained in:
Emil Ernerfeldt
2021-03-04 09:09:29 +01:00
parent 514176fd1a
commit 589c6ce834

View File

@@ -187,6 +187,7 @@ impl RigidBody {
}
self.mass_properties = props;
self.update_world_mass_properties();
}
/// The handles of colliders attached to this rigid body.