Package org.ode4j.ode

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


        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

Related Classes of org.ode4j.ode.DJoint

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.