OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:collisionShape
(Results
1 - 6
of
6
) sorted by null
/external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_collision_PhysicsCollisionObject.cpp
57
btCollisionShape*
collisionShape
= reinterpret_cast<btCollisionShape*>(shapeId);
58
if (
collisionShape
== NULL) {
63
collisionObject->setCollisionShape(
collisionShape
);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
PhysicsCollisionObject.java
35
import com.jme3.bullet.collision.shapes.
CollisionShape
;
62
protected
CollisionShape
collisionShape
;
85
* Sets a
CollisionShape
to this physics object, note that the object should
88
* @param
collisionShape
the
CollisionShape
to set
90
public void setCollisionShape(
CollisionShape
collisionShape
) {
91
this.
collisionShape
=
collisionShape
;
[
all
...]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsCharacter.java
40
import com.jme3.bullet.collision.shapes.
CollisionShape
;
75
* @param shape The
CollisionShape
(no Mesh or CompoundCollisionShapes)
78
public PhysicsCharacter(
CollisionShape
shape, float stepHeight) {
79
this.
collisionShape
= shape;
93
gObject.setCollisionShape(
collisionShape
.getCShape());
95
character = new KinematicCharacterController(gObject, (ConvexShape)
collisionShape
.getCShape(), stepHeight);
181
public void setCollisionShape(
CollisionShape
collisionShape
) {
182
if (!(
collisionShape
.getCShape() instanceof ConvexShape)) {
185
super.setCollisionShape(
collisionShape
);
[
all
...]
PhysicsGhostObject.java
38
import com.jme3.bullet.collision.shapes.
CollisionShape
;
74
public PhysicsGhostObject(
CollisionShape
shape) {
75
collisionShape
= shape;
79
public PhysicsGhostObject(Spatial child,
CollisionShape
shape) {
80
collisionShape
= shape;
89
gObject.setCollisionShape(
collisionShape
.getCShape());
94
public void setCollisionShape(
CollisionShape
collisionShape
) {
95
super.setCollisionShape(
collisionShape
);
99
gObject.setCollisionShape(
collisionShape
.getCShape())
[
all
...]
PhysicsRigidBody.java
40
import com.jme3.bullet.collision.shapes.
CollisionShape
;
87
public PhysicsRigidBody(
CollisionShape
shape) {
88
collisionShape
= shape;
92
public PhysicsRigidBody(
CollisionShape
shape, float mass) {
93
collisionShape
= shape;
103
if(
collisionShape
instanceof MeshCollisionShape && mass != 0){
122
collisionShape
.calculateLocalInertia(mass, localInertia);
124
constructionInfo = new RigidBodyConstructionInfo(mass, motionState,
collisionShape
.getCShape(), localInertia);
127
constructionInfo.
collisionShape
=
collisionShape
.getCShape()
[
all
...]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
PhysicsCollisionObject.java
35
import com.jme3.bullet.collision.shapes.
CollisionShape
;
65
protected
CollisionShape
collisionShape
;
88
* Sets a
CollisionShape
to this physics object, note that the object should
91
* @param
collisionShape
the
CollisionShape
to set
93
public void setCollisionShape(
CollisionShape
collisionShape
) {
94
this.
collisionShape
=
collisionShape
;
[
all
...]
Completed in 24 milliseconds