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 / Newton - Collision?

Author
Message
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 10th May 2009 04:09 Edited at: 10th May 2009 04:38
Hello all,I've set up some physics objects in DBPro and Newton. I go to run the program and there's no collision! Did I do something wrong?
Here's my source code:

Thanks in advance.
-EDIT-Would the ODE command set world step be equivalent to the Newton Command NDB_SetMinimumFramerate? Thanks again.

...
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 11th May 2009 10:13
Your plain object for the floor is too thin, so the way you check for collision sometimes misses the collission between your objects and your floor.

try a thicker box instead like the following:



There is always one more imbecile than you counted on.
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 11th May 2009 22:05
Thanks CuCuMBeR! It works now.

...

Login to post a reply

Server time is: 2024-09-28 06:26:46
Your offset time is: 2024-09-28 06:26:46