Hello everybody.
How can i get the child compound shape during a raycast ?
I saw that the m_triangeIndex in the shape info should contains the child index but it can't because bullet check if the shape info doesn't exit but it exist anyway.
Thanks.
How to get the child shape of compound shape during raycast
-
- Posts: 3
- Joined: Fri May 15, 2015 9:48 am
-
- Posts: 3
- Joined: Fri May 15, 2015 9:48 am
Re: How to get the child shape of compound shape during rayc
Hello everyone.
i saw that the child shape is contained in the object wrapper (btCollisionObjectWrapper) used un rayTest, but how get this wrapper from the function addSingleResult in btCollisionWorld::ClosestRayResultCallback ?
Thanks in advance.
Tristan.
i saw that the child shape is contained in the object wrapper (btCollisionObjectWrapper) used un rayTest, but how get this wrapper from the function addSingleResult in btCollisionWorld::ClosestRayResultCallback ?
Thanks in advance.
Tristan.