How to get the hit collision shape from ray test result?
How to get the hit collision shape from ray test result?
Hi, I created a btCollisionObject with a btCompoundShape. When the btCollisionObject is returned by rayTest, can I get which shape in the btCompoundShape of the btCollisionObject is hit? I googled around but couldn't find a way to do it.
Re: How to get the hit collision shape from ray test result?
Agree, I want to know too.
Similar feature like AABB query also doesn't work for subshape, I think.
I think I have to calculate it based on a btCompoundShape myself.
Similar feature like AABB query also doesn't work for subshape, I think.
I think I have to calculate it based on a btCompoundShape myself.