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?

Author
Message
JDforce
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
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:
http://forum.thegamecreators.com/?m=forum_view&t=98161&b=1

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: 2024-03-28 20:46:05
Your offset time is: 2024-03-28 20:46:05