[ODE] AutoDisable

Jon Watte hplus-ode at mindcontrol.org
Sun Dec 19 11:18:09 MST 2004


To "early out" I find it's easier to give all terrain-like things a specific collider bit, and make them collide against all other bits than that bit. That way, ODE earlies out for me and I have to write and debug less code.

Cheers,

			/ h+


-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Tim
Rightnour
Sent: Saturday, December 18, 2004 10:41 PM
To: Tyler Streeter
Cc: ode at q12.org
Subject: Re: [ODE] AutoDisable



On 17-Dec-2004 Tyler Streeter wrote:
> Are there any other cases people check to jump out of collision checks early?

I use the terrain contrib, and divide my world into smaller 256x256 terrains. 
Since they are literally stacked edge to edge, I early out on any collision
between two terrains.  I also bound my world with planes, to keep the creatures
from falling off the earth.  I early out any collisions between a plane and the
terrain.  Another thing I do is anchor certain objects to the ground, such as
trees, so they don't wander off.  Those objects early out on any collisions
between them and the terrian.

---
Tim Rightnour <root at garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode




More information about the ODE mailing list