how to destroy Body?

l34ndr4

13-03-2006 17:38:41

hi , I have objects that when they have collide
I want to destroy the body,
but i didnt find any way to destroy then.
is there any way to destroy them?

like a m_World->destroyBody(body);

????

Epimetheus

13-03-2006 17:42:31

I just do:
delete mBody;
and it dissapears :O

l34ndr4

13-03-2006 18:31:44

hehehehehe yeah your right heheheh perfect :P (forgot)