[ODE] How to keep capsule stand and how to make it hover over below objects at a certain height?

Hampus hampus at sxp.se
Sun Aug 6 07:54:21 MST 2006


Hi Kornerr,

Why not dCollide the ray and adjust your body position before you  
step your world?

/Hampa


6 aug 2006 kl. 20.11 skrev michael kapelko:

> Ok, I googled a bit, and found out that I cannot alter objects from
> within NearCallback, because space is indeed locked during this time.
> But I need the capsule to hover over all objects. Where else can I
> dCollide ray with other geom if not within NearCallback?
> I need to know ray collision and I need to alter capsule after  
> that, but
> it's impossible to do that in NearCallback!!!!
> How to overcome this problem?
> Thanks.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>



More information about the ODE mailing list