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

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


      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.WheelJoint) {
      WheelJointDef d = (WheelJointDef)def;
      return jniCreateWheelJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.localAxisA.x, d.localAxisA.y, d.enableMotor, d.maxMotorTorque, d.motorSpeed,
        d.frequencyHz, d.dampingRatio);
    }
View Full Code Here


      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;
      return jniCreateWheelJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.localAxisA.x, d.localAxisA.y, d.enableMotor, d.maxMotorTorque, d.motorSpeed,
        d.frequencyHz, d.dampingRatio);
    }
View Full Code Here

      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;
      return jniCreateWheelJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA.x, d.localAnchorA.y,
        d.localAnchorB.x, d.localAnchorB.y, d.localAxisA.x, d.localAxisA.y, d.enableMotor, d.maxMotorTorque, d.motorSpeed,
        d.frequencyHz, d.dampingRatio);
    }
View Full Code Here

TOP

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

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.