HomeSort by relevance Sort by last modified time
    Searched refs:ghostControl (Results 1 - 2 of 2) sorted by null

  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestGhostObject.java 41 import com.jme3.bullet.control.GhostControl;
54 private GhostControl ghostControl;
106 ghostControl = new GhostControl(new BoxCollisionShape(halfExtents));
108 node.addControl(ghostControl);
110 getPhysicsSpace().add(ghostControl);
115 fpsText.setText("Overlapping objects: " + ghostControl.getOverlappingObjects().toString());
TestAttachGhostObject.java 39 import com.jme3.bullet.control.GhostControl;
56 private GhostControl ghostControl;
115 ghostControl = new GhostControl(new SphereCollisionShape(0.7f));
117 hammerNode.addControl(ghostControl);
118 getPhysicsSpace().add(ghostControl);
126 if (ghostControl.getOverlappingObjects().contains(collisionNode.getControl(PhysicsControl.class))) {

Completed in 950 milliseconds