コード例 #1
0
 private btRigidBody(boolean dummy, btRigidBody.btRigidBodyConstructionInfo constructionInfo) {
   this(
       DynamicsJNI.new_btRigidBody__SWIG_0(
           dummy,
           btRigidBody.btRigidBodyConstructionInfo.getCPtr(constructionInfo),
           constructionInfo),
       true);
 }
コード例 #2
0
 @Override
 protected synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       DynamicsJNI.delete_btGeneric6DofConstraintData(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
コード例 #3
0
 @Override
 protected synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       DynamicsJNI.delete_btRigidBody_btRigidBodyConstructionInfo(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
コード例 #4
0
 @Override
 protected synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       DynamicsJNI.delete_btAngularLimit(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
コード例 #5
0
 private btRigidBody(
     boolean dummy, float mass, btMotionState motionState, btCollisionShape collisionShape) {
   this(
       DynamicsJNI.new_btRigidBody__SWIG_2(
           dummy,
           mass,
           btMotionState.getCPtr(motionState),
           motionState,
           btCollisionShape.getCPtr(collisionShape),
           collisionShape),
       true);
 }
コード例 #6
0
 private btRigidBodyConstructionInfo(
     boolean dummy,
     float mass,
     btMotionState motionState,
     btCollisionShape collisionShape,
     Vector3 localInertia) {
   this(
       DynamicsJNI.new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(
           dummy,
           mass,
           btMotionState.getCPtr(motionState),
           motionState,
           btCollisionShape.getCPtr(collisionShape),
           collisionShape,
           localInertia),
       true);
 }
コード例 #7
0
 public void setAngularLowerLimit(btVector3FloatData value) {
   DynamicsJNI.btGeneric6DofConstraintData_angularLowerLimit_set(
       swigCPtr, this, btVector3FloatData.getCPtr(value), value);
 }
コード例 #8
0
 public String getPadding3() {
   return DynamicsJNI.btGeneric6DofSpring2ConstraintData_padding3_get(swigCPtr, this);
 }
コード例 #9
0
 public void setLinearUpperLimit(btVector3FloatData value) {
   DynamicsJNI.btGeneric6DofConstraintData_linearUpperLimit_set(
       swigCPtr, this, btVector3FloatData.getCPtr(value), value);
 }
コード例 #10
0
 public btGeneric6DofConstraintData() {
   this(DynamicsJNI.new_btGeneric6DofConstraintData(), true);
 }
コード例 #11
0
 public void setUseOffsetForConstraintFrame(int value) {
   DynamicsJNI.btGeneric6DofConstraintData_useOffsetForConstraintFrame_set(swigCPtr, this, value);
 }
コード例 #12
0
 public String getAngularServoMotor() {
   return DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularServoMotor_get(swigCPtr, this);
 }
コード例 #13
0
 public void setAngularServoMotor(String value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularServoMotor_set(swigCPtr, this, value);
 }
コード例 #14
0
 public btVector3FloatData getAngularEquilibriumPoint() {
   long cPtr =
       DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularEquilibriumPoint_get(swigCPtr, this);
   return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
 }
コード例 #15
0
 public void setAngularEquilibriumPoint(btVector3FloatData value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularEquilibriumPoint_set(
       swigCPtr, this, btVector3FloatData.getCPtr(value), value);
 }
コード例 #16
0
 public void setAngularSpringDamping(btVector3FloatData value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularSpringDamping_set(
       swigCPtr, this, btVector3FloatData.getCPtr(value), value);
 }
コード例 #17
0
 public btVector3FloatData getAngularMaxMotorForce() {
   long cPtr =
       DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularMaxMotorForce_get(swigCPtr, this);
   return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
 }
コード例 #18
0
 public void setUseLinearReferenceFrameA(int value) {
   DynamicsJNI.btGeneric6DofConstraintData_useLinearReferenceFrameA_set(swigCPtr, this, value);
 }
コード例 #19
0
 public int getUseLinearReferenceFrameA() {
   return DynamicsJNI.btGeneric6DofConstraintData_useLinearReferenceFrameA_get(swigCPtr, this);
 }
コード例 #20
0
 public void setAngularEnableSpring(String value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularEnableSpring_set(swigCPtr, this, value);
 }
コード例 #21
0
 public int getUseOffsetForConstraintFrame() {
   return DynamicsJNI.btGeneric6DofConstraintData_useOffsetForConstraintFrame_get(swigCPtr, this);
 }
コード例 #22
0
 public void setTypeConstraintData(btTypedConstraintData value) {
   DynamicsJNI.btGeneric6DofConstraintData_typeConstraintData_set(
       swigCPtr, this, btTypedConstraintData.getCPtr(value), value);
 }
コード例 #23
0
 public String getAngularEnableSpring() {
   return DynamicsJNI.btGeneric6DofSpring2ConstraintData_angularEnableSpring_get(swigCPtr, this);
 }
コード例 #24
0
 public void setRbBFrame(btTransformFloatData value) {
   DynamicsJNI.btGeneric6DofConstraintData_rbBFrame_set(
       swigCPtr, this, btTransformFloatData.getCPtr(value), value);
 }
コード例 #25
0
 public btTypedConstraintData getTypeConstraintData() {
   long cPtr = DynamicsJNI.btGeneric6DofConstraintData_typeConstraintData_get(swigCPtr, this);
   return (cPtr == 0) ? null : new btTypedConstraintData(cPtr, false);
 }
コード例 #26
0
 public void setRotateOrder(int value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_rotateOrder_set(swigCPtr, this, value);
 }
コード例 #27
0
 public btTransformFloatData getRbBFrame() {
   long cPtr = DynamicsJNI.btGeneric6DofConstraintData_rbBFrame_get(swigCPtr, this);
   return (cPtr == 0) ? null : new btTransformFloatData(cPtr, false);
 }
コード例 #28
0
 public int getRotateOrder() {
   return DynamicsJNI.btGeneric6DofSpring2ConstraintData_rotateOrder_get(swigCPtr, this);
 }
コード例 #29
0
 public btVector3FloatData getLinearUpperLimit() {
   long cPtr = DynamicsJNI.btGeneric6DofConstraintData_linearUpperLimit_get(swigCPtr, this);
   return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
 }
コード例 #30
0
 public void setPadding3(String value) {
   DynamicsJNI.btGeneric6DofSpring2ConstraintData_padding3_set(swigCPtr, this, value);
 }