Home
last modified time | relevance | path

Searched refs:getPhysicsSpace (Results 1 – 25 of 44) sorted by relevance

12

/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestPhysicsReadWrite.java72 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
80 getPhysicsSpace().add(physicsSphere); in simpleInitApp()
86 getPhysicsSpace().add(physicsSphere2); in simpleInitApp()
93 getPhysicsSpace().add(physicsBox); in simpleInitApp()
99 getPhysicsSpace().add(physicsCylinder); in simpleInitApp()
105 getPhysicsSpace().add(node2); in simpleInitApp()
111 getPhysicsSpace().add(node3); in simpleInitApp()
115 getPhysicsSpace().add(joint); in simpleInitApp()
120 getPhysicsSpace().removeAll(physicsRootNode); in simpleInitApp()
131 getPhysicsSpace().addAll(newPhysicsRootNode); in simpleInitApp()
[all …]
DTestSimplePhysics.java62 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
68 getPhysicsSpace().add(physicsSphere); in simpleInitApp()
74 getPhysicsSpace().add(physicsSphere2); in simpleInitApp()
81 getPhysicsSpace().add(physicsBox); in simpleInitApp()
87 getPhysicsSpace().add(physicsCylinder); in simpleInitApp()
93 getPhysicsSpace().add(node2); in simpleInitApp()
99 getPhysicsSpace().add(node3); in simpleInitApp()
108 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestSimplePhysics
109 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestLocalPhysics.java62 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
69 getPhysicsSpace().add(physicsSphere); in simpleInitApp()
76 getPhysicsSpace().add(physicsSphere2); in simpleInitApp()
84 getPhysicsSpace().add(physicsBox); in simpleInitApp()
91 getPhysicsSpace().add(physicsCylinder); in simpleInitApp()
98 getPhysicsSpace().add(node2); in simpleInitApp()
105 getPhysicsSpace().add(node3); in simpleInitApp()
119 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestLocalPhysics
120 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestGhostObject.java65 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
76 getPhysicsSpace().add(physicsBox); in simpleInitApp()
82 getPhysicsSpace().add(physicsBox1); in simpleInitApp()
88 getPhysicsSpace().add(physicsBox2); in simpleInitApp()
95 getPhysicsSpace().add(node); in simpleInitApp()
100 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestGhostObject
101 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
110 getPhysicsSpace().add(ghostControl); in initGhostObject()
DTestKinematicAddToPhysicsSpaceIssue.java36 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
45 getPhysicsSpace().add(physicsSphere); in simpleInitApp()
55 getPhysicsSpace().add(physicsSphere2); in simpleInitApp()
67 getPhysicsSpace().add(node2); in simpleInitApp()
73 getPhysicsSpace().add(node3); in simpleInitApp()
77 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestKinematicAddToPhysicsSpaceIssue
78 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestCollisionGroups.java64 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
70 getPhysicsSpace().add(physicsSphere); in simpleInitApp()
77 getPhysicsSpace().add(physicsSphere2); in simpleInitApp()
85 getPhysicsSpace().add(node2); in simpleInitApp()
91 getPhysicsSpace().add(node3); in simpleInitApp()
94 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestCollisionGroups
95 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestCollisionListener.java64 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
69 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
70 PhysicsTestHelper.createBallShooter(this, rootNode, bulletAppState.getPhysicsSpace()); in simpleInitApp()
73 getPhysicsSpace().addCollisionListener(this); in simpleInitApp()
76 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestCollisionListener
77 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestAttachGhostObject.java88 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
93 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestAttachGhostObject
94 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
101 getPhysicsSpace().add(holderNode); in setupJoint()
106 getPhysicsSpace().add(hammerNode); in setupJoint()
112 getPhysicsSpace().add(collisionNode); in setupJoint()
118 getPhysicsSpace().add(ghostControl); in setupJoint()
121 getPhysicsSpace().add(joint); in setupJoint()
DTestPhysicsHingeJoint.java79 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
84 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestPhysicsHingeJoint
85 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
92 getPhysicsSpace().add(holderNode); in setupJoint()
97 getPhysicsSpace().add(hammerNode); in setupJoint()
100 getPhysicsSpace().add(joint); in setupJoint()
DTestCcd.java83 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
103 getPhysicsSpace().add(node2); in simpleInitApp()
110 getPhysicsSpace().add(node3); in simpleInitApp()
114 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestCcd
115 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
139 getPhysicsSpace().add(bulletg); in onAction()
149 getPhysicsSpace().add(bulletg); in onAction()
DTestAttachDriver.java82 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
88 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestAttachDriver
89 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
122 getPhysicsSpace().add(floorGeom); in setupFloor()
200 getPhysicsSpace().add(vehicle); in buildPlayer()
209 getPhysicsSpace().add(driver); in buildPlayer()
216 getPhysicsSpace().add(slider); in buildPlayer()
235 getPhysicsSpace().add(pole1); in buildPlayer()
236 getPhysicsSpace().add(pole2); in buildPlayer()
237 getPhysicsSpace().add(bridge); in buildPlayer()
[all …]
DTestCollisionShapeFactory.java70 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
86 getPhysicsSpace().add(control); in simpleInitApp()
95 getPhysicsSpace().add(control3); in simpleInitApp()
134 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestCollisionShapeFactory
135 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestRagdollCharacter.java85 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
99 getPhysicsSpace().add(ragdoll); in simpleInitApp()
119 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestRagdollCharacter
120 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
163 this.getPhysicsSpace().add(reBoxg); in initWall()
DTestBrickWall.java114 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestBrickWall
115 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
132 getPhysicsSpace().add(bulletNode);
163 this.getPhysicsSpace().add(floor); in initFloor()
197 this.getPhysicsSpace().add(reBoxg); in addBrick()
DTestPhysicsCar.java72 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
73 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
78 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestPhysicsCar
79 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
172 getPhysicsSpace().add(vehicle); in buildPlayer()
DTestPhysicsCharacter.java101 …sTestHelper.createPhysicsTestWorldSoccer(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
111 getPhysicsSpace().add(physicsCharacter); in simpleInitApp()
199 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestPhysicsCharacter
200 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestQ3.java115 getPhysicsSpace().addAll(gameLevel); in simpleInitApp()
116 getPhysicsSpace().add(player); in simpleInitApp()
119 private PhysicsSpace getPhysicsSpace(){ in getPhysicsSpace() method in TestQ3
120 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestBoneRagdoll.java101 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
132 getPhysicsSpace().add(ragdoll); in simpleInitApp()
192 getPhysicsSpace().add(bulletNode); in simpleInitApp()
207 getPhysicsSpace().add(bulletNode); in simpleInitApp()
232 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestBoneRagdoll
233 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
DTestBrickTower.java125 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestBrickTower
126 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
141 getPhysicsSpace().add(bulletNode);
190 this.getPhysicsSpace().add(floor); in initFloor()
223 this.getPhysicsSpace().add(reBoxg); in addBrick()
DTestHoveringTank.java89 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestHoveringTank
90 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
114 bulletAppState.getPhysicsSpace().setAccuracy(1f/30f); in simpleInitApp()
155 getPhysicsSpace().add(hoverControl); in buildPlayer()
190 getPhysicsSpace().add(missile); in makeMissile()
296 getPhysicsSpace().addAll(terrain); in createTerrain()
DTestWalkingChar.java148 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestWalkingChar
149 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
193 this.getPhysicsSpace().add(reBoxg); in addBrick()
203 getPhysicsSpace().addCollisionListener(this); in prepareBullet()
291 getPhysicsSpace().add(terrainPhysicsNode); in createTerrain()
302 getPhysicsSpace().add(character); in createCharacter()
405 getPhysicsSpace().add(bulletControl); in bulletControl()
DTestFancyCar.java100 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
113 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestFancyCar
114 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
215 getPhysicsSpace().add(player); in buildPlayer()
DTestRagDoll.java40 bulletAppState.getPhysicsSpace().enableDebug(assetManager); in simpleInitApp()
43 …PhysicsTestHelper.createPhysicsTestWorld(rootNode, assetManager, bulletAppState.getPhysicsSpace()); in simpleInitApp()
86 bulletAppState.getPhysicsSpace().addAll(ragDoll); in createRagDoll()
/external/jmonkeyengine/engine/src/test/jme3test/batching/
DTestBatchNodeTower.java139 private PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in TestBatchNodeTower
140 return bulletAppState.getPhysicsSpace(); in getPhysicsSpace()
155 getPhysicsSpace().add(bulletNode);
204 this.getPhysicsSpace().add(floor); in initFloor()
237 this.getPhysicsSpace().add(reBoxg); in addBrick()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/
DBulletAppState.java106 pSpace.update(getPhysicsSpace().getAccuracy() * getSpeed());
110 …executor.schedule(detachedPhysicsUpdate, Math.round(getPhysicsSpace().getAccuracy() * 1000000.0f) …
115 public PhysicsSpace getPhysicsSpace() { in getPhysicsSpace() method in BulletAppState

12