-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
PhysicsIssues with all kinds of Physics and their BindingsIssues with all kinds of Physics and their Bindings
Milestone
Description
Physics debug visualization works for HeightfieldCollisionShape
in jme3-bullet
but not in jme3-jbullet
.
To demonstrate this issue, modify jme3test.terrain.TerrainGridAlphaMapTest
as follows:
@@ -47,7 +47,7 @@
private float grassScale = 64;
private float dirtScale = 16;
private float rockScale = 128;
- private boolean usePhysics = false;
+ private boolean usePhysics = true;
public static void main(final String[] args) {
TerrainGridAlphaMapTest app = new TerrainGridAlphaMapTest();
@@ -161,6 +161,7 @@
this.terrain.addControl(control);
final BulletAppState bulletAppState = new BulletAppState();
+ bulletAppState.setDebugEnabled(true);
stateManager.attach(bulletAppState);
With jme3-bullet
, the HeightfieldCollisionShape
is visualized as blue wireframe, overlaid on the grass/dirt/rock. With jme3-jbullet
, only the grass/dirt/rock is visible.
Metadata
Metadata
Assignees
Labels
PhysicsIssues with all kinds of Physics and their BindingsIssues with all kinds of Physics and their Bindings