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.

DarkBASIC Professional Discussion / newton physics dll clearing objects data

Author
Message
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 27th Oct 2013 22:05
hi, i have just added the newtons physics to my level editor I am coding, but when it comes to clearing the objects it errors, stops responding totally!
here is the code:







if i rem out the line NDB_NewtonDestroy in the clear function it is then that the program crashes:










this requires no media you simply resize the block with the numpad keys, place a block with space-bar,move y axes with a-z, F2 saves level while f1 loads and c clears the level! camera controls via the mouse wheel and the [ and ' keys

Hail to the king, baby!

http://davidjohnwheeler.blogspot.co.uk
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 27th Oct 2013 22:59
ah sorry,i missed NDB_NewtonDestroyBody in the docs, sorted it

Hail to the king, baby!

http://davidjohnwheeler.blogspot.co.uk

Login to post a reply

Server time is: 2025-05-17 07:25:42
Your offset time is: 2025-05-17 07:25:42