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.

Author
Message
pdq
17
Years of Service
User Offline
Joined: 20th Jul 2006
Location:
Posted: 9th Apr 2007 20:05
Is there a way to view as an outline or solid the RIGID BODIES that DarkPhysics creates for each DB object?
Kendor
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location: Malta
Posted: 9th Apr 2007 20:47 Edited at: 9th Apr 2007 20:48
You cannot view them directly in darkbasic but you have to use the Visual Remote Debugger (found in the Tools folder).

First open the debugger, then in your project, call phy enable debug before phy start. Once you compile and run the project, you should see the object bounds and interactions in the debugger window.

Example:



Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't know why.
pdq
17
Years of Service
User Offline
Joined: 20th Jul 2006
Location:
Posted: 10th Apr 2007 00:19
Thanks.

It would still be nice to see the rigid bodies in DB's renderer.
Kanda
16
Years of Service
User Offline
Joined: 5th Apr 2007
Location: france
Posted: 10th Apr 2007 18:52
i agree, it would be helpfull. The way the autors of newton dll wrapper did is perfect. The remote debugger for aegia is great, but that's not enough. If u want make sure bodies fit good to your 3d shapes for example (or if your vehicle's tires are well placed), drawing in wireframe in db pro rendered scene is the way to go

Login to post a reply

Server time is: 2024-03-29 06:06:12
Your offset time is: 2024-03-29 06:06:12