[ODE] Weird Dynamics

Adam D. Moss aspirin at ntlworld.com
Fri Mar 7 09:30:02 2003


Martin C. Martin wrote:
> ODE wants all masses within about an order of magnitude of each other,
> i.e. the largest mass shouldn't be more than about 10 times as big as the
> smallest mass.  Since you don't want the walls to move, why not use planes
> for the walls, i.e. geoms without bodies

That's a fair observation, but if he's just setting up the walls
as big cubes *without bodies attached anyway*, their mass is of
no consequence.

And from an efficiency point of view, although a plane<->object
collision is usually cheaper than a box<->object collision, boxes
scale better when using a hash-space (planes cannot use aabb
optimizations so always invoke one nearness callback each for
every object in the world).

--Adam
-- 
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3
busting makes me feel good
kthx bye