Examples of DJoint


Examples of org.ode4j.ode.DJoint

      if (pre == null) {
        continue;
      }
      BodyPart bp = n.getContent();
      BodyPart bpPre = pre.getContent();
      DJoint j = OdeHelper.createBallJoint(env.getWorld());
      j.attach(bpPre.getBody(), bp.getBody());
    }
  }
View Full Code Here

Examples of org.ode4j.ode.DJoint

        contact.surface.mu = this.mu;
        contact.surface.bounce = this.bounce;
        contact.surface.bounce_vel = this.bounce_vel;
        contact.surface.soft_erp = this.soft_erp;
        contact.surface.soft_cfm = this.soft_cfm;
        DJoint c = OdeHelper.createContactJoint(this.world,
            this.contactgroup, contact);
        c.attach(contact.geom.g1.getBody(), contact.geom.g2.getBody());
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.