[ODE] How I know if collide?
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.
On Thu, 11 Nov 2004 17:12:56 -0200, Alexandre Ribeiro de Sá
<alex_r at vortexentertainment.com> wrote:
> 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?!
> Alexandre Ribeiro de Sá
> ODE mailing list
> ODE at q12.org
More information about the ODE