Home
last modified time | relevance | path

Searched refs:collisionObject (Results 1 – 7 of 7) sorted by relevance

/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_collision_PhysicsCollisionObject.cpp51 btCollisionObject* collisionObject = reinterpret_cast<btCollisionObject*>(objectId); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape() local
52 if (collisionObject == NULL) { in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape()
63 collisionObject->setCollisionShape(collisionShape); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape()
73 btCollisionObject* collisionObject = reinterpret_cast<btCollisionObject*>(objectId); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_finalizeNative() local
74 if (collisionObject == NULL) { in Java_com_jme3_bullet_collision_PhysicsCollisionObject_finalizeNative()
79 if (collisionObject -> getUserPointer() != NULL){ in Java_com_jme3_bullet_collision_PhysicsCollisionObject_finalizeNative()
80 jmeUserPointer *userPointer = (jmeUserPointer*)collisionObject->getUserPointer(); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_finalizeNative()
83 delete(collisionObject); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_finalizeNative()
92 btCollisionObject* collisionObject = reinterpret_cast<btCollisionObject*>(objectId); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_initUserPointer() local
93 if (collisionObject == NULL) { in Java_com_jme3_bullet_collision_PhysicsCollisionObject_initUserPointer()
[all …]
Dcom_jme3_bullet_PhysicsSpace.cpp85 btCollisionObject* collisionObject = reinterpret_cast<btCollisionObject*>(objectId); in Java_com_jme3_bullet_PhysicsSpace_addCollisionObject() local
91 if (collisionObject == NULL) { in Java_com_jme3_bullet_PhysicsSpace_addCollisionObject()
96 jmeUserPointer *userPointer = (jmeUserPointer*)collisionObject->getUserPointer(); in Java_com_jme3_bullet_PhysicsSpace_addCollisionObject()
99 space->getDynamicsWorld()->addCollisionObject(collisionObject); in Java_com_jme3_bullet_PhysicsSpace_addCollisionObject()
110 btCollisionObject* collisionObject = reinterpret_cast<btCollisionObject*>(objectId); in Java_com_jme3_bullet_PhysicsSpace_removeCollisionObject() local
116 if (collisionObject == NULL) { in Java_com_jme3_bullet_PhysicsSpace_removeCollisionObject()
121 space->getDynamicsWorld()->removeCollisionObject(collisionObject); in Java_com_jme3_bullet_PhysicsSpace_removeCollisionObject()
122 jmeUserPointer *userPointer = (jmeUserPointer*)collisionObject->getUserPointer(); in Java_com_jme3_bullet_PhysicsSpace_removeCollisionObject()
134 btRigidBody* collisionObject = reinterpret_cast<btRigidBody*>(rigidBodyId); in Java_com_jme3_bullet_PhysicsSpace_addRigidBody() local
140 if (collisionObject == NULL) { in Java_com_jme3_bullet_PhysicsSpace_addRigidBody()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
DPhysicsRayTestResult.java42 private PhysicsCollisionObject collisionObject; field in PhysicsRayTestResult
50 …public PhysicsRayTestResult(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float… in PhysicsRayTestResult() argument
51 this.collisionObject = collisionObject; in PhysicsRayTestResult()
61 return collisionObject; in getCollisionObject()
85 …public void fill(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float hitFractio… in fill() argument
86 this.collisionObject = collisionObject; in fill()
DPhysicsSweepTestResult.java42 private PhysicsCollisionObject collisionObject; field in PhysicsSweepTestResult
50 …public PhysicsSweepTestResult(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, flo… in PhysicsSweepTestResult() argument
51 this.collisionObject = collisionObject; in PhysicsSweepTestResult()
61 return collisionObject; in getCollisionObject()
85 …public void fill(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float hitFractio… in fill() argument
86 this.collisionObject = collisionObject; in fill()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
DPhysicsSweepTestResult.java42 private PhysicsCollisionObject collisionObject; field in PhysicsSweepTestResult
50 …public PhysicsSweepTestResult(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, flo… in PhysicsSweepTestResult() argument
51 this.collisionObject = collisionObject; in PhysicsSweepTestResult()
61 return collisionObject; in getCollisionObject()
85 …public void fill(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float hitFractio… in fill() argument
86 this.collisionObject = collisionObject; in fill()
DPhysicsRayTestResult.java44 private PhysicsCollisionObject collisionObject; field in PhysicsRayTestResult
59 return collisionObject; in getCollisionObject()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
DPhysicsSpace.java209 … PhysicsCollisionObject collisionObject = (PhysicsCollisionObject) colOb.getUserPointer(); in setOverlapFilterCallback()
211 … if ((collisionObject.getCollideWithGroups() & collisionObject1.getCollisionGroup()) > 0 in setOverlapFilterCallback()
212 … || (collisionObject1.getCollideWithGroups() & collisionObject.getCollisionGroup()) > 0) { in setOverlapFilterCallback()
213 …PhysicsCollisionGroupListener listener = collisionGroupListeners.get(collisionObject.getCollisionG… in setOverlapFilterCallback()
216 return listener.collide(collisionObject, collisionObject1); in setOverlapFilterCallback()
218 return listener1.collide(collisionObject, collisionObject1); in setOverlapFilterCallback()
680 … PhysicsCollisionObject obj = (PhysicsCollisionObject) lrr.collisionObject.getUserPointer(); in addSingleResult()