Fw: [ODE] Callback function for Colision

gl gl at ntlworld.com
Sat Jan 18 04:14:02 2003


One option is to store the class instance pointer in your geoms using
dGeomSetData().  Then use a global callback function as suggested, check for
the class the input geoms belong to, and redirect the callback to the class
specific handler.
--
gl

----- Original Message -----
From: "slipch" <slipch@gsc-game.kiev.ua>
To: <ODE@q12.org>
Sent: Saturday, January 18, 2003 11:02 AM
Subject: Re: Fw: [ODE] Callback function for Colision


> Hello Christian,
>
> Saturday, January 18, 2003, 12:24:04 PM, you wrote:
>
> CG> It's a wrapper and now i must include the Callback function for the
> CG> Colision. How can I handle that?
>
> I live NearCallback in global scope.
>
>
>
> --
> Best regards,
>  slipch                            mailto:slipch@gsc-game.kiev.ua
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>