Lines Matching refs:sphere
24 import com.jme3.scene.shape.Sphere;
25 import com.jme3.scene.shape.Sphere.TextureMode;
71 //immovable sphere with mesh collision shape
72 Sphere sphere = new Sphere(8, 8, 1);
73 Geometry sphereGeometry = new Geometry("Sphere", sphere);
76 sphereGeometry.addControl(new RigidBodyControl(new MeshCollisionShape(sphere), 0));
103 Sphere sphere = new Sphere(16, 16, .5f);
104 Geometry ballGeometry = new Geometry("Soccer ball", sphere);
107 //RigidBodyControl automatically uses Sphere collision shapes when attached to single geometry with sphere mesh
142 * creates a sphere geometry with a RigidBodyControl
149 Sphere sphere = new Sphere(8, 8, 0.25f);
150 Geometry boxGeometry = new Geometry("Sphere", sphere);
152 //RigidBodyControl automatically uses sphere collision shapes when attached to single geometry with sphere mesh
181 Sphere bullet = new Sphere(32, 32, 0.4f, true, false);