Package org.jbox2d.collision

Examples of org.jbox2d.collision.ShapeDef


  }

  public void addGround(Shape shape, double elasticity) {
    ground.add(shape);
    Body body = jbox2dWorld.getGroundBody();
    ShapeDef def = AbstractWorldObject.translateShape(shape, elasticity);
    body.createShape(def);
  }
View Full Code Here

TOP

Related Classes of org.jbox2d.collision.ShapeDef

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.