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

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


      MouseJointDef d = (MouseJointDef)def;
      return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.target.y, d.maxForce,
        d.frequencyHz, d.dampingRatio);
    }
    if (def.type == JointType.PrismaticJoint) {
      PrismaticJointDef d = (PrismaticJointDef)def;
      return jniCreatePrismaticJoint(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.referenceAngle, d.enableLimit,
        d.lowerTranslation, d.upperTranslation, d.enableMotor, d.maxMotorForce, d.motorSpeed);
    }
    if (def.type == JointType.PulleyJoint) {
View Full Code Here


      MouseJointDef d = (MouseJointDef)def;
      return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.target.y, d.maxForce,
        d.frequencyHz, d.dampingRatio);
    }
    if (def.type == JointType.PrismaticJoint) {
      PrismaticJointDef d = (PrismaticJointDef)def;
      return jniCreatePrismaticJoint(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.referenceAngle, d.enableLimit,
        d.lowerTranslation, d.upperTranslation, d.enableMotor, d.maxMotorForce, d.motorSpeed);
    }
    if (def.type == JointType.PulleyJoint) {
View Full Code Here

      MouseJointDef d = (MouseJointDef)def;
      return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.target.y, d.maxForce,
        d.frequencyHz, d.dampingRatio);
    }
    if (def.type == JointType.PrismaticJoint) {
      PrismaticJointDef d = (PrismaticJointDef)def;
      return jniCreatePrismaticJoint(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.referenceAngle, d.enableLimit,
        d.lowerTranslation, d.upperTranslation, d.enableMotor, d.maxMotorForce, d.motorSpeed);
    }
    if (def.type == JointType.PulleyJoint) {
View Full Code Here

TOP

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

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.