Package org.jbox2d.testbed.framework

Examples of org.jbox2d.testbed.framework.ContactPoint


    HashSet<Body> nuke = new HashSet<Body>();

    // Traverse the contact results. Destroy bodies that
    // are touching heavier bodies.
    for (int i = 0; i < getPointCount(); ++i) {
      ContactPoint point = points[i];

      Body body1 = point.fixtureA.getBody();
      Body body2 = point.fixtureB.getBody();
      float mass1 = body1.getMass();
      float mass2 = body2.getMass();
View Full Code Here

TOP

Related Classes of org.jbox2d.testbed.framework.ContactPoint

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.