Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cylinder collision error #96

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tzaeschke
Copy link
Owner

Cylinder trimesh collision may fail with:

java.lang.RuntimeException
    at org.ode4j.ode.internal.Common.dIASSERT(Common.java:131)
    at org.ode4j.ode.internal.CollideCylinderTrimesh$sCylinderTrimeshColliderData.TestOneTriangleVsCylinder(CollideCylinderTrimesh.java:1002)
    at org.ode4j.ode.internal.CollideCylinderTrimesh$sCylinderTrimeshColliderData.TestCollisionForSingleTriangle(CollideCylinderTrimesh.java:1080)
    at org.ode4j.ode.internal.CollideCylinderTrimesh.dCollideCylinderTrimesh(CollideCylinderTrimesh.java:1301)
    at org.ode4j.ode.internal.CollideCylinderTrimesh.dColliderFn(CollideCylinderTrimesh.java:68)
    at org.ode4j.ode.internal.DxGeom.dCollide(DxGeom.java:1698)
    at org.ode4j.ode.OdeHelper.collide(OdeHelper.java:850)

This is currently not reproducible with tests.

@tzaeschke tzaeschke self-assigned this May 2, 2023
…e the problem that the Trimesh/Cylinder collider sees only NaN for the cylinder's posr().
@tzaeschke
Copy link
Owner Author

We DO get NaN in Cylinder/Sphere contact NaN, but it doesn't reproduce the problem that the Trimesh/Cylinder collider sees only NaN for the cylinder's posr(). -> Not really reproducible.
Maybe we need to try this in 0.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant