[ODE] auto-enable problem solutions?

Jani Laakso jani.laakso at itmill.com
Tue Mar 2 12:42:45 MST 2004


Aras Pranckevicius wrote:

>>If I construct e.g. high tower and set it disabled by default and 
>>then slowly push the lowest box somewhat ahead, then some boxes are 
>>left floating in the air, upper boxes are not re-enabled because no 
>>contacts occur with the enabled lower boxes.
> 
> I haven't tried this (i.e. building a tower or a wall), but if your ERP is 
> <1.0, then shouldn't there always be a contact between boxes? This way, once 
> you re-enable the lowest box (push it), it collides with the rest 
> immediately - hence all get re-enabled.

Ahh, of course, thanks.

I've setup my wall in such way that the wall bodies are disabled by 
default. The boxes do not overlap (collide) to each other, the space 
beetween them is exactly zero. Simplest fix is to stack boxes in such 
way that they overlap each other very little (based on ERP/CFM).

> That's theory, of course. In practice, some box might be pushed into a state 
> that it doesn't collide with the lower box (due to various inaccuracies), and 
> get disabled then.

I assume some kind of mechanism is needed in any case for avoiding 
"floaters".

-- 
Jani Laakso / IT Mill Ltd | Tel. +358 40 5898086 | http://www.itmill.com


More information about the ODE mailing list