Closed GoogleCodeExporter closed 9 years ago
That looks like a nice solution, and aside from a minor issue it has been
committed:
http://code.google.com/p/bullet/source/detail?r=1878
The issue was an assert: the closest hit fraction needed to be initialized,
otherwise
you can hit asserts (adding hits further away then the current closest hit)
This fixes it:
my_cb.m_closestHitFraction = resultCallback.m_closestHitFraction;
It solves this outstanding issue:
http://code.google.com/p/bullet/issues/detail?id=214
Thanks for the patch!
Erwin
Original comment by erwin.coumans
on 19 Jan 2010 at 5:53
Original issue reported on code.google.com by
d...@doc.ic.ac.uk
on 16 Jan 2010 at 3:47Attachments: