Merge pull request #139 from EmbarkStudios/body-mass-props

Call update_world_mass_properties from RigidBody::set_mass_properties
This commit is contained in:
Sébastien Crozet
2021-03-04 10:07:26 +01:00
committed by GitHub

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.