|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Body | |
---|---|
org.jbox2d.collision | |
org.jbox2d.dynamics | |
org.jbox2d.dynamics.contacts | |
org.jbox2d.dynamics.joints | |
org.jbox2d.testbed |
Uses of Body in org.jbox2d.collision |
---|
Fields in org.jbox2d.collision declared as Body | |
---|---|
Body |
Shape.m_body
|
Methods in org.jbox2d.collision that return Body | |
---|---|
Body |
Shape.getBody()
|
Uses of Body in org.jbox2d.dynamics |
---|
Fields in org.jbox2d.dynamics declared as Body | |
---|---|
Body[] |
Island.m_bodies
|
Body |
World.m_bodyList
|
Body |
World.m_groundBody
|
Body |
Body.m_next
|
Body |
Body.m_prev
|
Methods in org.jbox2d.dynamics that return Body | |
---|---|
Body |
World.createDynamicBody(BodyDef def)
Create a dynamic rigid body given a definition. |
Body |
World.createStaticBody(BodyDef def)
Create a static rigid body given a definition. |
Body |
World.getBodyList()
Get the world body list. |
Body |
World.getGroundBody()
The world provides a single static ground body with no collision shapes. |
Body |
Body.getNext()
Get the next body in the world's body list. |
Methods in org.jbox2d.dynamics with parameters of type Body | |
---|---|
void |
World.destroyBody(Body b)
Destroy a rigid body given a definition. |
boolean |
Body.isConnected(Body other)
This is used to prevent connected bodies from colliding. |
org.jbox2d.dynamics.BoundaryResponse |
WorldListener.notifyBoundaryViolated(Body body)
|
void |
BoundaryListener.violation(Body body)
|
Uses of Body in org.jbox2d.dynamics.contacts |
---|
Fields in org.jbox2d.dynamics.contacts declared as Body | |
---|---|
Body |
ContactConstraint.body1
|
Body |
ContactConstraint.body2
|
Body |
ContactEdge.other
|
Uses of Body in org.jbox2d.dynamics.joints |
---|
Fields in org.jbox2d.dynamics.joints declared as Body | |
---|---|
Body |
JointDef.body1
|
Body |
JointDef.body2
|
Body |
Joint.m_body1
|
Body |
Joint.m_body2
|
Body |
PulleyJoint.m_ground
|
Body |
GearJoint.m_ground1
|
Body |
GearJoint.m_ground2
|
Body |
JointEdge.other
|
Methods in org.jbox2d.dynamics.joints that return Body | |
---|---|
Body |
Joint.getBody1()
Get the first body attached to this joint. |
Body |
Joint.getBody2()
Get the second body attached to this joint. |
Methods in org.jbox2d.dynamics.joints with parameters of type Body | |
---|---|
void |
RevoluteJointDef.initialize(Body b1,
Body b2,
Vec2 anchor)
|
void |
DistanceJointDef.initialize(Body b1,
Body b2,
Vec2 anchor1,
Vec2 anchor2)
Initialize the bodies, anchors, and length using the world anchors. |
Uses of Body in org.jbox2d.testbed |
---|
Fields in org.jbox2d.testbed declared as Body | |
---|---|
protected Body |
AbstractExample.m_bomb
The bomb body. |
Methods in org.jbox2d.testbed with parameters of type Body | |
---|---|
void |
AbstractExample.boundaryViolated(Body body)
Stub method for concrete examples to override if desired. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |