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.

Newcomers DBPro Corner / Hands on DBPro ODE

Author
Message
Avoth
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location:
Posted: 12th Nov 2010 05:03
I am currently running through the ODE section of Hands on Vol2. I seem to have hit a wall.. i understand the snippets that have been put in the book but when i hit a key to pass the WAIT KEY command and the program to continue. It does 1 or 2 frames then stops. The aim of the snippet for Vol2 Listing 48.2 Snippet is for you to press a key and basicly the Box object to fall and hit the plane. I tried to correct the snippet but adding Sync ON/SyncR 60 and Sync in the loop which fixed it for the default Gravity of 9.81 assuming that the calculations where being made but the screen was not refreshing to show the results. This worked until i tried lowering the Gravity to a value of 2 as requested in the book... it then continues to do what it did before and begin to move for 1 or 2 frames then just stop. Is the snippet incorrectly coded or is this a bug?
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 12th Nov 2010 11:32
Could you post the code for the benefit of those who do not have access to the book? It would probably help you get a faster and more helpful answer.

WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 12th Nov 2010 14:34
I have also been having problems with ODE Physics. See thread http://forum.thegamecreators.com/?m=forum_view&t=177278&b=1. For now, I just went back to using update 7.4. All my ODE source file are working again. If anybody has any more insight into this, please let us know. Thank you.

Brian

Have netbook will travel.

Login to post a reply

Server time is: 2024-05-18 05:45:53
Your offset time is: 2024-05-18 05:45:53