You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a TerrainQuad and then generate a CollisionShape from it using CollisionShapeFactory. The diagonals of the mesh will run one direction, and the diagonals of the HeightfieldCollisionShape grid will run the other direction. This is most noticeable for small heightfields (2x2, ideally) with large differences in height between adjacent grid points.
An easy workaround would be to set flipQuadEdges = true in HeightfieldCollisionShape.createCollisionHeightfield(), but unfortunately there's no mechanism to do this in jMonkeyEngine.
The issue is present in current master-branch jme3-bullet; I haven't tested jme3-jbullet yet.
The text was updated successfully, but these errors were encountered:
I verified the fix using TestIssue1125.java and jme3-bullet. I still don't know whether jme3-jbullet has this issue or not. If it does, either re-open this issue or open a new issue.
Create a
TerrainQuad
and then generate aCollisionShape
from it usingCollisionShapeFactory
. The diagonals of the mesh will run one direction, and the diagonals of theHeightfieldCollisionShape
grid will run the other direction. This is most noticeable for small heightfields (2x2, ideally) with large differences in height between adjacent grid points.An easy workaround would be to set
flipQuadEdges = true
inHeightfieldCollisionShape.createCollisionHeightfield()
, but unfortunately there's no mechanism to do this in jMonkeyEngine.The issue is present in current master-branch
jme3-bullet
; I haven't testedjme3-jbullet
yet.The text was updated successfully, but these errors were encountered: