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.

Dark Physics & Dark A.I. & Dark Dynamix / Does DarkPhysics recover from a directsurface loss?

Years of Service
User Offline
Joined: 27th Jul 2004
Location: Some rainforest
Posted: 25th Jan 2007 04:19 Edited at: 25th Jan 2007 04:20
Am having trouble figuring out the way of reconstructing my physics enabled game when the directX surface is lost due to a winlogon event.

Please see this thread for a more detailed explanation:

My main question would be: If I have to recreate cameras, objects, rotations, positions, for all the scene, how DarkBasic would know that object 2, for instance, and all its wheels (previously created at program start) are the ones that you are assigning after a pseudo-crash provoked by a winlogon event?

What will happen with inertia momentum, physics rotation, spin, Etc?
If someone can test this, please post some code. Perhaps am not looking it from the right point of view.

EDIT: this question actually would have to be rephrased for all plugins affected, not only physics (newton, ode), but others, like collisions, Etc.

May the 3d force B with U

Login to post a reply

Server time is: 2020-08-05 15:23:54
Your offset time is: 2020-08-05 15:23:54