Closed GoogleCodeExporter closed 8 years ago
the ray test uses the collision shapes expanded by the collision margin, the
rounded corners are expected. You can reduce the collision margin, if it is a
problem, but don't set it too small, otherwise Bullet collision detection won't
work properly.
Original comment by erwin.coumans
on 1 Nov 2013 at 2:31
I tested a box standing on its edge and on a corner on the ground plane, but I
didn't notice any margin there. I'll try adjusting the margin parameter.
Also, the rounding behavior seemed to change from 2.81 to 2.82, since we had a
test that passed with 2.81 that now fails with 2.82. Maybe the default value of
the margin or the SimplexConvex parameters changed.
Original comment by scpet...@osrfoundation.org
on 1 Nov 2013 at 5:14
it was likely a ray test bug in 2.81.
there are some differences how each algorithm uses margin,
box-box and box-plane is different from the general gjk case.
that's why i asked to reduce the margin as a test.
I'll look at it soon.
Original comment by erwin.coumans
on 1 Nov 2013 at 11:40
It helps if you check out the ray tracer demo in Bullet/Demos/Raytracer and
bump up the resolution. It shows the rounded corners and the errors when using
the old 'subsimplexxonvexcast'.
Original comment by erwin.coumans
on 4 Nov 2013 at 1:18
moved to https://github.com/bulletphysics/bullet3/issues/34
Original comment by erwin.coumans
on 30 Mar 2014 at 5:42
Original issue reported on code.google.com by
scpet...@osrfoundation.org
on 1 Nov 2013 at 1:35Attachments: