[Fluxus] Detecting collisions without bumping stuff

David Griffiths dave at pawfal.org
Tue Dec 11 12:14:19 PST 2012


On 11/12/12 12:22, Rolf Meinecke wrote:
> 
> Sorry for bombarding the list. This is the last question for now.

No worries, great questions...

> I'd like to generate an OSC message when two objects collide, but
> preferably without any actual physical collision taking place. The
> objects should overlap just as they do without the physics engine. I
> thought the physics engine might be the right place to start for this
> quest, since it actually does the collision detection, but so far I
> have not managed to use it without having the objects bump into each
> other.

No I think the ODE collision callback is triggered on the creation of a
temporary 'contact joint' so it probably wont work the way you want.

The thing to try is the native fluxus intersection calls like
geo/line-intersect - see here for more details:
http://en.flossmanuals.net/fluxus/ch017_scene-inspection/

> The goal is to build some sort of 3D-Iannix (http://iannix.org). I'd
> like to set up some static trigger objects which emit an OSC message
> when they are touched by some other object.

bb/bb-intersect? might be sufficient depending on the shape of your
objects...

cheers,

dave



More information about the Fluxus mailing list