Merge pull request #139 from EmbarkStudios/body-mass-props
Call update_world_mass_properties from RigidBody::set_mass_properties
This commit is contained in:
@@ -187,6 +187,7 @@ impl RigidBody {
|
||||
}
|
||||
|
||||
self.mass_properties = props;
|
||||
self.update_world_mass_properties();
|
||||
}
|
||||
|
||||
/// The handles of colliders attached to this rigid body.
|
||||
|
||||
Reference in New Issue
Block a user