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

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


      return jniCreateRevoluteJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.referenceAngle, d.enableLimit, d.lowerAngle, d.upperAngle, d.enableMotor,
        d.motorSpeed, d.maxMotorTorque);
    }
    if (def.type == JointType.RopeJoint) {
      RopeJointDef d = (RopeJointDef)def;
      return jniCreateRopeJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxLength);
    }
    if (def.type == JointType.WeldJoint) {
      WeldJointDef d = (WeldJointDef)def;
View Full Code Here


      WeldJointDef d = (WeldJointDef)def;
      return jniCreateWeldJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.referenceAngle);
    }
    if (def.type == JointType.RopeJoint) {
      RopeJointDef d = (RopeJointDef)def;
      return jniCreateRopeJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxLength);
    }
    if (def.type == JointType.WheelJoint) {
      WheelJointDef d = (WheelJointDef)def;
View Full Code Here

      WeldJointDef d = (WeldJointDef)def;
      return jniCreateWeldJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.referenceAngle);
    }
    if (def.type == JointType.RopeJoint) {
      RopeJointDef d = (RopeJointDef)def;
      return jniCreateRopeJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.maxLength);
    }
    if (def.type == JointType.WheelJoint) {
      WheelJointDef d = (WheelJointDef)def;
View Full Code Here

TOP

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

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.