|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.collision.ShapeDef
org.jbox2d.collision.CircleDef
public class CircleDef
A circle shape definition. Set the radius and localPosition ( (0,0) by default ), and then call Body.createShape(ShapeDef) to add the shape to a body.
Field Summary | |
---|---|
Vec2 |
localPosition
|
float |
radius
|
Fields inherited from class org.jbox2d.collision.ShapeDef |
---|
density, filter, friction, isSensor, restitution, type, userData |
Constructor Summary | |
---|---|
CircleDef()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float radius
public Vec2 localPosition
Constructor Detail |
---|
public CircleDef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |