Uses of Class
org.jbox2d.dynamics.Body

Packages that use Body
org.jbox2d.dynamics   
org.jbox2d.dynamics.contacts   
org.jbox2d.dynamics.joints   
 

Uses of Body in org.jbox2d.dynamics
 

Fields in org.jbox2d.dynamics declared as Body
 Body[] Island.m_bodies
           
 Body Fixture.m_body
           
 Body Body.m_next
           
 Body Body.m_prev
           
 

Methods in org.jbox2d.dynamics that return Body
 Body World.createBody(BodyDef def)
          create a rigid body given a definition.
 Body Fixture.getBody()
          Get the parent body of this fixture.
 Body World.getBodyList()
          Get the world body list.
 Body Body.getNext()
          Get the next body in the world's body list.
 

Methods in org.jbox2d.dynamics with parameters of type Body
 void Island.add(Body body)
           
 void Fixture.create(Body body, FixtureDef def)
           
 void World.destroyBody(Body body)
          destroy a rigid body given a definition.
 boolean Body.shouldCollide(Body other)
          This is used to prevent connected bodies from colliding.
 

Uses of Body in org.jbox2d.dynamics.contacts
 

Fields in org.jbox2d.dynamics.contacts declared as Body
 Body ContactEdge.other
          provides quick access to the other body attached.
 

Uses of Body in org.jbox2d.dynamics.joints
 

Fields in org.jbox2d.dynamics.joints declared as Body
 Body JointDef.bodyA
          The first attached body.
 Body JointDef.bodyB
          The second attached body.
protected  Body Joint.m_bodyA
           
protected  Body Joint.m_bodyB
           
 Body JointEdge.other
          Provides quick access to the other body attached
 

Methods in org.jbox2d.dynamics.joints that return Body
 Body[] ConstantVolumeJoint.getBodies()
           
 Body Joint.getBodyA()
          get the first body attached to this joint.
 Body Joint.getBodyB()
          get the second body attached to this joint.
 

Methods in org.jbox2d.dynamics.joints with parameters of type Body
 void ConstantVolumeJointDef.addBody(Body argBody)
          Adds a body to the group
 void ConstantVolumeJointDef.addBodyAndJoint(Body argBody, DistanceJoint argJoint)
          Adds a body and the pre-made distance joint.
 void WeldJointDef.initialize(Body bA, Body bB, Vec2 anchor)
          Initialize the bodies, anchors, and reference angle using a world anchor point.
 void RevoluteJointDef.initialize(Body b1, Body b2, Vec2 anchor)
          Initialize the bodies, anchors, and reference angle using the world anchor.
 void FrictionJointDef.initialize(Body bA, Body bB, Vec2 anchor)
          Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
 void WheelJointDef.initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis)
           
 void PrismaticJointDef.initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis)
          Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
 void DistanceJointDef.initialize(Body b1, Body b2, Vec2 anchor1, Vec2 anchor2)
          Initialize the bodies, anchors, and length using the world anchors.
 void PulleyJointDef.initialize(Body b1, Body b2, Vec2 ga1, Vec2 ga2, Vec2 anchor1, Vec2 anchor2, float r)
          Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.
 



Copyright © 2013. All Rights Reserved.