Ray test and triangle mesh shape

fr5776
Posts: 1
Joined: Thu Jul 02, 2009 12:19 pm

Ray test and triangle mesh shape

Post by fr5776 »

Hello,

I'm new on Bullet, and I have a problem. I made my own class in order to control a character and I succeeded in moving it ! But, I would like that my controller could jump, so I use a ray test (code from the character controller demo). It seems to manage (the ray test sees something below) when it's a classic mesh (cube, sphere) but when it's a triangle mesh shape ( btBvhTriangleMeshShape), the ray test doesn't work. So, what can I do ?

Thanks,

fr5776.