Home | History | Annotate | Download | only in objects

Lines Matching full:constructioninfo

67     protected RigidBodyConstructionInfo constructionInfo;
114 rBody = new RigidBody(constructionInfo);
123 if (constructionInfo == null) {
124 constructionInfo = new RigidBodyConstructionInfo(mass, motionState, collisionShape.getCShape(), localInertia);
126 constructionInfo.mass = mass;
127 constructionInfo.collisionShape = collisionShape.getCShape();
128 constructionInfo.motionState = motionState;
366 constructionInfo.friction = friction;
371 constructionInfo.linearDamping = linearDamping;
372 constructionInfo.angularDamping = angularDamping;
377 constructionInfo.linearDamping = linearDamping;
378 rBody.setDamping(linearDamping, constructionInfo.angularDamping);
382 constructionInfo.angularDamping = angularDamping;
383 rBody.setDamping(constructionInfo.linearDamping, angularDamping);
387 return constructionInfo.linearDamping;
391 return constructionInfo.angularDamping;
403 constructionInfo.restitution = restitution;
529 constructionInfo.collisionShape = collisionShape.getCShape();
552 constructionInfo.linearSleepingThreshold = linear;
553 constructionInfo.angularSleepingThreshold = angular;
558 constructionInfo.linearSleepingThreshold = linearSleepingThreshold;
559 rBody.setSleepingThresholds(linearSleepingThreshold, constructionInfo.angularSleepingThreshold);
563 constructionInfo.angularSleepingThreshold = angularSleepingThreshold;
564 rBody.setSleepingThresholds(constructionInfo.linearSleepingThreshold, angularSleepingThreshold);
568 return constructionInfo.linearSleepingThreshold;
572 return constructionInfo.angularSleepingThreshold;
665 capsule.write(constructionInfo.linearDamping, "linearDamping", 0);
666 capsule.write(constructionInfo.angularDamping, "angularDamping", 0);
667 capsule.write(constructionInfo.linearSleepingThreshold, "linearSleepingThreshold", 0.8f);
668 capsule.write(constructionInfo.angularSleepingThreshold, "angularSleepingThreshold", 1.0f);