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.

Bug Reports / ODE phyics bug?

Author
Message
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 29th Aug 2010 20:57
I have been playing with ODE physics and encountered some rather basic problems.
Here is some code to illustrate the problem I have.

The objects are falling through the static box floor for some reason I cannot fathom.

http://s6.bitefight.org/c.php?uid=103081
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 30th Aug 2010 12:49
I thought your original example was easier to follow - i.e. the one where the object comes to rest and then falls through the floor unexpectedly after a few seconds. The gosub begin/start logic in the above snippet seems to be an unnecessary distraction.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 31st Aug 2010 00:27
Here it is just in case.


http://s6.bitefight.org/c.php?uid=103081
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 2nd Nov 2010 06:24
Yep, I'm having this problem also with my own code
Coldfire
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location: Indiana
Posted: 3rd Nov 2010 14:21
I'm pretty certain that ODE doesn't natively do CCD, which would be needed to ensure things collide properly. I've noticed some library's for implementing CCD with ODE but unfortunately those are of course in C. The same things can happen in dark physics if you don't have CCD on when needed. Hope this helps!

coldfire
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 17th Nov 2010 07:01
CCD is for fast moving objects, these objects are nearly at rest, then they fall through the floor.
In another ODE program I worked on, they merge toward each other when drawn toward a central simulated gravitational spot.
So it's not just falling, their bounds are no longer considered in the ODE physics world for some reason when they come to rest.

Login to post a reply

Server time is: 2024-04-19 19:32:19
Your offset time is: 2024-04-19 19:32:19