[ODE] Collision without response (area triggers)
aluaces at udc.es
Thu Jul 12 08:16:59 MST 2007
El Jueves 12 Julio 2007, Jose Marin escribió:
> It's possible to create objects (boxes, cylinders, etc) in ODE that detects
> when some other object touches it, or even penetrates it, but without
> responding to this collision?
> I need to create "area triggers" .
> When the player touches or enters on one of these areas, a collision is
> detected and one event is sent. I need to allow the player to remain
> "inside" the area trigger, for example, a room, or a plate on the ground.
> The problem is how to detect that an object it's touching or inside another
> one, but the two objects don't affect one each other.
> Thanks for any tip!
just don't set a contact joint at the collision callback. Depending on the
geoms colliding, you can decide if you want a physical response or not.
More information about the ODE