Changes in rayTest from v2.81 to v2.82

Spaddlewit
Posts: 28
Joined: Fri Sep 04, 2009 8:23 pm

Changes in rayTest from v2.81 to v2.82

Post by Spaddlewit »

My program was using v2.81, and I recently upgraded to v2.82. My rayTest calls are producing some very wacky behavior. What was changed with the rayTest between v2.81 and v2.82?

Specifically, I'm performing a ray test against a btBvhTriangleMesh.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Changes in rayTest from v2.81 to v2.82

Post by Erwin Coumans »

There is an issue with one of the ray cast functions, we need to fix it.

In the meanwhile, enable this flag for the old behavior:

Code: Select all

resultCallback.m_flags |= btTriangleRaycastCallback::kF_UseSubSimplexConvexCastRaytest;
I filed it in the new issue tracker at github, will be fixed for next release:
https://github.com/erwincoumans/bullet3/issues/34