On the latest SVN (r137), I'm seeing collisionobjects in my world that have
been removed; NumCollisionObjects is correct, though. If I create three bodies,
and then remove one, and use the following code:
foreach (CollisionObject obj in world.CollisionObjectArray)
{
Console.WriteLine(obj.ToString());
}
Console.WriteLine(world.NumCollisionObjects + "\n");
I see three ToString entries - including the object I deleted - followed by
'2'.
I couldn't find the issue when looking through the source; Bullet's
implementation of removeRigidBody() does remove it from the container; I'm not
too familiar with using C++/CLI for enumerables.
Original issue reported on code.google.com by subquan...@gmail.com on 3 Jul 2010 at 5:54
Original issue reported on code.google.com by
subquan...@gmail.com
on 3 Jul 2010 at 5:54