[ODE] How I know if collide?

Megan Fox shalinor at gmail.com
Thu Nov 11 13:22:57 MST 2004


The collision callback exists for a reason.  It lets you know exactly
what two geoms collide.  How you let these geoms know what entities
they belong to is entirely up to use - I point the custom data pointer
at the proper entity, myself.

-Megan Fox

On Thu, 11 Nov 2004 17:12:56 -0200, Alexandre Ribeiro de Sá
<alex_r at vortexentertainment.com> wrote:
> AHOY!
> 
> How I know if a object collide?
> 
> Like this, there one sphere and two cubes, the red cube play the sound A
> if the sphere collide and the blue cube play the sound B...
> 
> This is just a example, I need it to play sound, set damage, but the
> problem is the same, how can I know what collide where?!
> 
> Thx
> Alexandre Ribeiro de Sá
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list