Replies: 4 comments
-
I tried the same with other shapes, in my case the box and the capsule shape and I also do not get any hits from inside. I even tried to remove the filter backfaces in case that was the problem, but it does not change it at all.
My solution here was just to invert the ray to get proper hits. But it should be looked into from the Bullet Physics side. |
Beta Was this translation helpful? Give feedback.
-
The fact the ray does not hit from inside is not the problem. The problem is that it sometimes hits and sometimes doesn't on a seemly random basis. |
Beta Was this translation helpful? Give feedback.
-
Yes, this should be addressed. We lack resources to address this at the moment and fix it once we have time. |
Beta Was this translation helpful? Give feedback.
-
I changed the raytest example to show the issue: |
Beta Was this translation helpful? Give feedback.
-
If you do a ray test with the ray starting inside a btCylinderShape most of the time the ray does not hit the cylinder (seemingly it's back culled), but every now and again (maybe 1 in 1000 times) it does hit. That seems to be a bug for me - it should either hit all the time, or never.
Beta Was this translation helpful? Give feedback.
All reactions