Package org.ode4j.ode

Examples of org.ode4j.ode.DJoint.attach()


        continue;
      }
      BodyPart bp = n.getContent();
      BodyPart bpPre = pre.getContent();
      DJoint j = OdeHelper.createBallJoint(env.getWorld());
      j.attach(bpPre.getBody(), bp.getBody());
    }
  }

  /* (non-Javadoc)
   * @see eas.simulation.spatial.sim3D.physicalSimulation.standardAgents.AbstractAgentLWJGLdrawable#isDrawableInLWJGL()
View Full Code Here


        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());
      }
    }
  }

  private double elapsedTime() {
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.