Package com.badlogic.gdx.physics.box2d.joints

Examples of com.badlogic.gdx.physics.box2d.joints.GearJointDef


      FrictionJointDef d = (FrictionJointDef)def;
      return jniCreateFrictionJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxForce, d.maxTorque);
    }
    if (def.type == JointType.GearJoint) {
      GearJointDef d = (GearJointDef)def;
      return jniCreateGearJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.joint1.addr, d.joint2.addr, d.ratio);
    }
    if (def.type == JointType.MotorJoint) {
      MotorJointDef d = (MotorJointDef)def;
      return jniCreateMotorJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.linearOffset.x, d.linearOffset.y,
View Full Code Here


      FrictionJointDef d = (FrictionJointDef)def;
      return jniCreateFrictionJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxForce, d.maxTorque);
    }
    if (def.type == JointType.GearJoint) {
      GearJointDef d = (GearJointDef)def;
      return jniCreateGearJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.joint1.addr, d.joint2.addr, d.ratio);
    }
    if (def.type == JointType.MouseJoint) {
      MouseJointDef d = (MouseJointDef)def;
      return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.target.y, d.maxForce,
View Full Code Here

      FrictionJointDef d = (FrictionJointDef)def;
      return jniCreateFrictionJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxForce, d.maxTorque);
    }
    if (def.type == JointType.GearJoint) {
      GearJointDef d = (GearJointDef)def;
      return jniCreateGearJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.joint1.addr, d.joint2.addr, d.ratio);
    }
    if (def.type == JointType.MouseJoint) {
      MouseJointDef d = (MouseJointDef)def;
      return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.target.y, d.maxForce,
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.physics.box2d.joints.GearJointDef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.