[ODE] How to hold objects (like in HL2)?

Jason Perkins starkos at gmail.com
Tue Aug 8 06:20:57 MST 2006


On 8/8/06, michael kapelko <kornerr at gmail.com> wrote:
> If I'm doing dSetPosition, then collision won't act on the object I
> hold.

If you set the position of a geom to put it in contact with something
else, then a collision will be reported. What you do with it depends
on what you want to happen. Most likely, you want to create a
collision joint on the character holding the object, so it acts like
an extension of the character itself.

It really depends on what you want to happen when a collision occurs.
Can you provide more details about what you are doing, what you have
tried, and what you didn't like about the results?

Jason


More information about the ODE mailing list