Searched refs:ballGeometry (Results 1 – 1 of 1) sorted by relevance
104 Geometry ballGeometry = new Geometry("Soccer ball", sphere); in createPhysicsTestWorldSoccer() local105 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()