Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsGhostObject.java62 protected PairCachingGhostObject gObject; field in PhysicsGhostObject
85 if (gObject == null) { in buildObject()
86 gObject = new PairCachingGhostObject(); in buildObject()
87gObject.setCollisionFlags(gObject.getCollisionFlags() | CollisionFlags.NO_CONTACT_RESPONSE); in buildObject()
89 gObject.setCollisionShape(collisionShape.getCShape()); in buildObject()
90 gObject.setUserPointer(this); in buildObject()
96 if (gObject == null) { in setCollisionShape()
99 gObject.setCollisionShape(collisionShape.getCShape()); in setCollisionShape()
108 gObject.getWorldTransform(tempTrans); in setPhysicsLocation()
110 gObject.setWorldTransform(tempTrans); in setPhysicsLocation()
[all …]
DPhysicsCharacter.java63 protected PairCachingGhostObject gObject; field in PhysicsCharacter
88 if (gObject == null) { in buildObject()
89 gObject = new PairCachingGhostObject(); in buildObject()
91 gObject.setCollisionFlags(CollisionFlags.CHARACTER_OBJECT); in buildObject()
92gObject.setCollisionFlags(gObject.getCollisionFlags() & ~CollisionFlags.NO_CONTACT_RESPONSE); in buildObject()
93 gObject.setCollisionShape(collisionShape.getCShape()); in buildObject()
94 gObject.setUserPointer(this); in buildObject()
95 …character = new KinematicCharacterController(gObject, (ConvexShape) collisionShape.getCShape(), st… in buildObject()
186 if (gObject == null) { in setCollisionShape()
189 gObject.setCollisionShape(collisionShape.getCShape()); in setCollisionShape()
[all …]