ncollide icon indicating copy to clipboard operation
ncollide copied to clipboard

Make the collision world auto-detect when a collision object moved.

Open sebcrozet opened this issue 5 years ago • 2 comments

Currently, the user has to call CollisionWorld::set_position(...) to change the position of a collision object. Calling CollisionObject::set_position directly instead will result in the collision world not being aware of the change, and thus not detecting potential new collisions.

We should find a way to let the collision world auto-detect a position change due to CollisionObject::set_position.

sebcrozet avatar Sep 18 '18 04:09 sebcrozet

I just spent a long time trying to figure out why my collisions weren't happening. So I definitely agree that this would be a good change.

keeslinp avatar Oct 03 '18 04:10 keeslinp

I was thinking about it some more, what would be really good in this area for me would be to have a CollisionWorld::apply_transformation. Then you don't have to even grab the object at all.

keeslinp avatar Oct 03 '18 13:10 keeslinp