libgdx API

Uses of Class
com.badlogic.gdx.physics.box2d.Body

Packages that use Body
com.badlogic.gdx.physics.box2d   
com.badlogic.gdx.physics.box2d.joints   
 

Uses of Body in com.badlogic.gdx.physics.box2d
 

Fields in com.badlogic.gdx.physics.box2d declared as Body
 Body JointDef.bodyA
          The first attached body.
 Body JointDef.bodyB
          The second attached body
 Body JointEdge.other
           
 

Fields in com.badlogic.gdx.physics.box2d with type parameters of type Body
protected  LongMap<Body> World.bodies
          all known bodies
protected  Pool<Body> World.freeBodies
          pool for bodies
 

Methods in com.badlogic.gdx.physics.box2d 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 Joint.getBodyA()
          Get the first body attached to this joint.
 Body Joint.getBodyB()
          Get the second body attached to this joint.
 

Methods in com.badlogic.gdx.physics.box2d that return types with arguments of type Body
 java.util.Iterator<Body> World.getBodies()
           
 

Methods in com.badlogic.gdx.physics.box2d with parameters of type Body
 void World.destroyBody(Body body)
          Destroy a rigid body given a definition.
protected  void Fixture.reset(Body body, long addr)
           
 

Constructors in com.badlogic.gdx.physics.box2d with parameters of type Body
Fixture(Body body, long addr)
          Constructs a new fixture
JointEdge(Body other, Joint joint)
           
 

Uses of Body in com.badlogic.gdx.physics.box2d.joints
 

Methods in com.badlogic.gdx.physics.box2d.joints with parameters of type Body
 void FrictionJointDef.initialize(Body bodyA, Body bodyB, Vector2 anchor)
          Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
 void RevoluteJointDef.initialize(Body bodyA, Body bodyB, Vector2 anchor)
          Initialize the bodies, anchors, and reference angle using a world anchor point.
 void WeldJointDef.initialize(Body body1, Body body2, Vector2 anchor)
           
 void DistanceJointDef.initialize(Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB)
          Initialize the bodies, anchors, and length using the world anchors.
 void PrismaticJointDef.initialize(Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis)
          Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
 void PulleyJointDef.initialize(Body bodyA, Body bodyB, Vector2 groundAnchorA, Vector2 groundAnchorB, Vector2 anchorA, Vector2 anchorB, float ratio)
          Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.
 


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)