removeRigidBody problem?

nero81af
Posts: 1
Joined: Mon Nov 21, 2011 4:15 pm

removeRigidBody problem?

Post by nero81af »

Hello! I have a strange problem with bullet: I'll try to describe it.. I can't post code since bullet has been used with my 3d engine and it would be very difficult to extract bullet code.. I just wanted to know if this is a known issue or not.. so let's get started :)

I have a terrain, and I throw balls from the sky.. everything goes fine till I start to remove balls that hit a specified target with removeRigidBody. The problem is that randomly the terrain become transparent and some balls pass through while others don't.. If I don't use removeRigidBody everything goes smooth.. I've already checked pointers passed to removeRigidBody but I'm not removing the terrain.. ccd doen't help either.. removeRigidBody seems to mess up physic world.. is this a known issue?