diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynamics/rigid_body.rs | 2 | ||||
| -rw-r--r-- | src/geometry/collider.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs index f4d47ce..417ce34 100644 --- a/src/dynamics/rigid_body.rs +++ b/src/dynamics/rigid_body.rs @@ -54,7 +54,7 @@ pub struct RigidBody { pub(crate) active_set_timestamp: u32, /// The status of the body, governing how it is affected by external forces. pub body_status: BodyStatus, - /// User-defined associated to this rigid-body. + /// User-defined data associated to this rigid-body. pub user_data: u128, } diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index ad4f813..40b59ae 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -206,6 +206,7 @@ pub struct Collider { pub(crate) contact_graph_index: ColliderGraphIndex, pub(crate) proximity_graph_index: ColliderGraphIndex, pub(crate) proxy_index: usize, + /// User-defined data associated to this rigid-body. pub user_data: u128, } |
