How to get the hit collision shape from ray test result?
-
- Posts: 1
- Joined: Mon Dec 19, 2016 12:37 pm
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.
-
- Posts: 96
- Joined: Wed Mar 16, 2016 10:11 am
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.