summaryrefslogtreecommitdiff
path: root/src/sim/rb_sim/rb_entity.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-19 21:24:00 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-19 21:24:00 -0700
commit29575e8592f5d6d566abb0ce9beaf794fb98a4e4 (patch)
tree6f97153f6e211f0f1407daebf3348051c4307413 /src/sim/rb_sim/rb_entity.rs
parent3a4d77bb7924492a5409112cf0f59cf29d354abf (diff)
update entity colliders?
Diffstat (limited to 'src/sim/rb_sim/rb_entity.rs')
-rw-r--r--src/sim/rb_sim/rb_entity.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/rb_sim/rb_entity.rs b/src/sim/rb_sim/rb_entity.rs
index 08813f6..18a6693 100644
--- a/src/sim/rb_sim/rb_entity.rs
+++ b/src/sim/rb_sim/rb_entity.rs
@@ -10,7 +10,8 @@ pub struct RbEntity {
pub width: i32,
pub height: i32,
pub cells: Vec<Cell>,
- pub rb_parent: prelude::RigidBodyHandle,
+ pub rb: prelude::RigidBodyHandle,
+ pub collider: Option<prelude::ColliderHandle>,
}
impl RbEntity {