Home
last modified time | relevance | path

Searched refs:ballGeometry (Results 1 – 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsTestHelper.java104 Geometry ballGeometry = new Geometry("Soccer ball", sphere); in createPhysicsTestWorldSoccer() local
105 ballGeometry.setMaterial(material); in createPhysicsTestWorldSoccer()
106 ballGeometry.setLocalTranslation(i, 2, -3); in createPhysicsTestWorldSoccer()
108 ballGeometry.addControl(new RigidBodyControl(.001f)); in createPhysicsTestWorldSoccer()
109 ballGeometry.getControl(RigidBodyControl.class).setRestitution(1); in createPhysicsTestWorldSoccer()
110 rootNode.attachChild(ballGeometry); in createPhysicsTestWorldSoccer()
111 space.add(ballGeometry); in createPhysicsTestWorldSoccer()