rayTest and ghost objects

User avatar
SynapticBytes
Posts: 74
Joined: Thu Feb 10, 2011 8:27 pm

rayTest and ghost objects

Post by SynapticBytes »

I'm just looking into implementing ray testing in my plugin. I'm wondering if btGhostObjects respond to the collisionWorld rayTest methods or not?

I see the btGhostObject has its own rayTest method, and was wondering if that is because of the above, or if it supposed to work different?

Also, if I am using a collision object as a pseudo ghost by setting CF_NO_CONTACT_RESPONSE, what behaviour do the ray tests exhibit on those objects?

Thanks.