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

  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestKinematicAddToPhysicsSpaceIssue.java 38 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
39 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
40 rootNode.attachChild(physicsSphere);
43 physicsSphere.getControl(RigidBodyControl.class).setKinematic(true);
45 getPhysicsSpace().add(physicsSphere);
47 physicsSphere.getControl(RigidBodyControl.class).setKinematic(false);
TestLocalPhysics.java 65 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
66 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
67 physicsSphere.getControl(RigidBodyControl.class).setApplyPhysicsLocal(true);
68 rootNode.attachChild(physicsSphere);
69 getPhysicsSpace().add(physicsSphere);
72 Node physicsSphere2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, physicsSphere.getControl(RigidBodyControl.class).getCollisionShape(), 1);
108 // PhysicsPoint2PointJoint joint=new PhysicsPoint2PointJoint(physicsSphere, physicsBox, new Vector3f(-2,0,0), new Vector3f(2,0,0));
109 // PhysicsHingeJoint joint=new PhysicsHingeJoint(physicsSphere, physicsBox, new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestSimplePhysics.java 65 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
66 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
67 rootNode.attachChild(physicsSphere);
68 getPhysicsSpace().add(physicsSphere);
71 Node physicsSphere2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, physicsSphere.getControl(RigidBodyControl.class).getCollisionShape(), 1);
102 // PhysicsPoint2PointJoint joint=new PhysicsPoint2PointJoint(physicsSphere, physicsBox, new Vector3f(-2,0,0), new Vector3f(2,0,0));
103 // PhysicsHingeJoint joint=new PhysicsHingeJoint(physicsSphere, physicsBox, new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestPhysicsReadWrite.java 77 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
78 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
79 rootNode.attachChild(physicsSphere);
80 getPhysicsSpace().add(physicsSphere);
83 Node physicsSphere2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, physicsSphere.getControl(RigidBodyControl.class).getCollisionShape(), 1);
114 HingeJoint joint=new HingeJoint(physicsSphere.getControl(RigidBodyControl.class), physicsBox.getControl(RigidBodyControl.class), new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestCollisionGroups.java 67 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
68 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
69 rootNode.attachChild(physicsSphere);
70 getPhysicsSpace().add(physicsSphere);

Completed in 45 milliseconds