list of moved objects?
-
- Posts: 4
- Joined: Fri Oct 17, 2008 3:42 pm
list of moved objects?
Is it possible to get some kind pointer list, pointing to all of the objects that were not in the sleep mode in current simulation step? One way is to loop through all objects on the scene and determine if they have been moved, but seems unnecessary and waste full (especially in a big world, where only local portion of objects are interacted with).
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: list of moved objects?
It will be available for Bullet 2.73, soon.
See http://code.google.com/p/bullet/issues/detail?id=128 to track progress.
Thanks for the reminder,
Erwin
See http://code.google.com/p/bullet/issues/detail?id=128 to track progress.
Thanks for the reminder,
Erwin
-
- Posts: 8
- Joined: Sat Feb 16, 2008 5:12 pm
Re: list of moved objects?
Currently I am doing this by using a custom RigidBody class (derived from btRigidBody) that registers/de-registers itself from a list when activated/deactivated. It's a simple hack if you want it running immediately.
Seems like a very reasonable thing to add to Bullet proper.
Seems like a very reasonable thing to add to Bullet proper.
-
- Posts: 4
- Joined: Fri Oct 17, 2008 3:42 pm
Re: list of moved objects?
Cool, looking forward to the new versionErwin Coumans wrote:It will be available for Bullet 2.73, soon.
See http://code.google.com/p/bullet/issues/detail?id=128 to track progress.
Thanks for the reminder,
Erwin