Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / question about Newton

Author
Message
avenger 999
19
Years of Service
User Offline
Joined: 28th May 2005
Location:
Posted: 14th May 2008 18:51
Is there any way to have a body automatically destroyed when the DBPro object that represents it is deleted? Like NDB_NewtonBodySetDestructorCallback only in reverse. If not then whats the simplest/most efficient way to delete every body that doesn't have a object assigned to it?

"You are in a video game, Max" funny as hell, it was the most horrible thing i could think of.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 19th May 2008 13:02
You keep track of those bodies with an array and then delete the ones you want.

There is always one more imbecile than you counted on.

Login to post a reply

Server time is: 2024-11-23 02:37:17
Your offset time is: 2024-11-23 02:37:17