Package org.ode4j.ode

Examples of org.ode4j.ode.DContactBuffer


      // only between spaces.
      return;
    }

    final int N = this.maxContacts;
    DContactBuffer contacts = new DContactBuffer(N);
    int n = OdeHelper.collide(o1, o2, N, contacts.getGeomBuffer());
    if (n > 0) {
      for (int i = 0; i < n; i++) {
        DContact contact = contacts.get(i);
        contact.surface.mode = this.mode;
        contact.surface.mu = this.mu;
        contact.surface.bounce = this.bounce;
        contact.surface.bounce_vel = this.bounce_vel;
        contact.surface.soft_erp = this.soft_erp;
View Full Code Here

TOP

Related Classes of org.ode4j.ode.DContactBuffer

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.