Uses of Class
org.jbox2d.dynamics.Body
-
Packages that use Body Package Description org.jbox2d.dynamics org.jbox2d.dynamics.contacts org.jbox2d.dynamics.joints org.jbox2d.serialization org.jbox2d.serialization.pb org.jbox2d.testbed.framework org.jbox2d.testbed.tests -
-
Uses of Body in org.jbox2d.dynamics
Fields in org.jbox2d.dynamics declared as Body Modifier and Type Field Description Body[]Island. m_bodiesBodyFixture. m_bodyprivate BodyWorld. m_bodyListBodyBody. m_nextBodyBody. m_prevprivate Body[]World. stackprivate Body[]World. tempBodiesMethods in org.jbox2d.dynamics that return Body Modifier and Type Method Description BodyWorld. createBody(BodyDef def)create a rigid body given a definition.BodyFixture. getBody()Get the parent body of this fixture.BodyWorld. getBodyList()Get the world body list.BodyBody. getNext()Get the next body in the world's body list.Methods in org.jbox2d.dynamics with parameters of type Body Modifier and Type Method Description voidIsland. add(Body body)voidFixture. create(Body body, FixtureDef def)voidWorld. destroyBody(Body body)destroy a rigid body given a definition.booleanBody. 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 Modifier and Type Field Description BodyContactEdge. otherprovides quick access to the other body attached. -
Uses of Body in org.jbox2d.dynamics.joints
Fields in org.jbox2d.dynamics.joints declared as Body Modifier and Type Field Description private Body[]ConstantVolumeJoint. bodiesBodyJointDef. bodyAThe first attached body.BodyJointDef. bodyBThe second attached body.protected BodyJoint. m_bodyAprotected BodyJoint. m_bodyBprivate BodyGearJoint. m_bodyCprivate BodyGearJoint. m_bodyDBodyJointEdge. otherProvides quick access to the other body attachedFields in org.jbox2d.dynamics.joints with type parameters of type Body Modifier and Type Field Description (package private) java.util.ArrayList<Body>ConstantVolumeJointDef. bodiesMethods in org.jbox2d.dynamics.joints that return Body Modifier and Type Method Description Body[]ConstantVolumeJoint. getBodies()BodyJoint. getBodyA()get the first body attached to this joint.BodyJoint. getBodyB()get the second body attached to this joint.Methods in org.jbox2d.dynamics.joints with parameters of type Body Modifier and Type Method Description voidConstantVolumeJointDef. addBody(Body argBody)Adds a body to the groupvoidConstantVolumeJointDef. addBodyAndJoint(Body argBody, DistanceJoint argJoint)Adds a body and the pre-made distance joint.voidDistanceJointDef. initialize(Body b1, Body b2, Vec2 anchor1, Vec2 anchor2)Initialize the bodies, anchors, and length using the world anchors.voidFrictionJointDef. initialize(Body bA, Body bB, Vec2 anchor)Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.voidPrismaticJointDef. initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis)Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.voidPulleyJointDef. 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.voidRevoluteJointDef. initialize(Body b1, Body b2, Vec2 anchor)Initialize the bodies, anchors, and reference angle using the world anchor.voidWeldJointDef. initialize(Body bA, Body bB, Vec2 anchor)Initialize the bodies, anchors, and reference angle using a world anchor point.voidWheelJointDef. initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis) -
Uses of Body in org.jbox2d.serialization
Methods in org.jbox2d.serialization that return Body Modifier and Type Method Description BodyJbDeserializer. deserializeBody(World world, java.io.InputStream input)Deserializes a bodyMethods in org.jbox2d.serialization with parameters of type Body Modifier and Type Method Description FixtureJbDeserializer. deserializeFixture(Body body, java.io.InputStream input)Deserializes a fixturejava.lang.LongJbSerializer.ObjectSigner. getTag(Body body)voidJbDeserializer.ObjectListener. processBody(Body body, java.lang.Long tag)SerializationResultJbSerializer. serialize(Body body)Serializes a bodyMethod parameters in org.jbox2d.serialization with type arguments of type Body Modifier and Type Method Description JointJbDeserializer. deserializeJoint(World world, java.io.InputStream input, java.util.Map<java.lang.Integer,Body> bodyMap, java.util.Map<java.lang.Integer,Joint> jointMap)Deserializes a jointSerializationResultJbSerializer. serialize(Joint joint, java.util.Map<Body,java.lang.Integer> bodyIndexMap, java.util.Map<Joint,java.lang.Integer> jointIndexMap)Serializes joints. -
Uses of Body in org.jbox2d.serialization.pb
Methods in org.jbox2d.serialization.pb that return Body Modifier and Type Method Description BodyPbDeserializer. deserializeBody(World argWorld, java.io.InputStream argInput)BodyPbDeserializer. deserializeBody(World argWorld, Box2D.PbBody argBody)Methods in org.jbox2d.serialization.pb with parameters of type Body Modifier and Type Method Description FixturePbDeserializer. deserializeFixture(Body argBody, java.io.InputStream argInput)FixturePbDeserializer. deserializeFixture(Body argBody, Box2D.PbFixture argFixture)SerializationResultPbSerializer. serialize(Body argBody)Box2D.PbBody.BuilderPbSerializer. serializeBody(Body argBody)Method parameters in org.jbox2d.serialization.pb with type arguments of type Body Modifier and Type Method Description JointPbDeserializer. deserializeJoint(World argWorld, java.io.InputStream argInput, java.util.Map<java.lang.Integer,Body> argBodyMap, java.util.Map<java.lang.Integer,Joint> jointMap)JointPbDeserializer. deserializeJoint(World argWorld, Box2D.PbJoint joint, java.util.Map<java.lang.Integer,Body> argBodyMap, java.util.Map<java.lang.Integer,Joint> jointMap)SerializationResultPbSerializer. serialize(Joint argJoint, java.util.Map<Body,java.lang.Integer> argBodyIndexMap, java.util.Map<Joint,java.lang.Integer> argJointIndexMap)Box2D.PbJoint.BuilderPbSerializer. serializeJoint(Joint joint, java.util.Map<Body,java.lang.Integer> argBodyIndexMap, java.util.Map<Joint,java.lang.Integer> argJointIndexMap) -
Uses of Body in org.jbox2d.testbed.framework
Fields in org.jbox2d.testbed.framework declared as Body Modifier and Type Field Description private BodyTestbedTest. bombprotected BodyTestbedTest. groundBodyMethods in org.jbox2d.testbed.framework that return Body Modifier and Type Method Description BodyTestbedTest. getBomb()Gets the 'bomb' body if it's presentBodyTestbedTest. getGroundBody()Gets the ground body of the world, used for some jointsMethods in org.jbox2d.testbed.framework with parameters of type Body Modifier and Type Method Description java.lang.LongSignerAdapter. getTag(Body argBody)java.lang.LongTestbedTest. getTag(Body body)voidListenerAdapter. processBody(Body argBody, java.lang.Long argTag)voidTestbedTest. processBody(Body body, java.lang.Long tag) -
Uses of Body in org.jbox2d.testbed.tests
Fields in org.jbox2d.testbed.tests declared as Body Modifier and Type Field Description private BodyLiquidTest. bodprivate Body[]LiquidTest. liquid(package private) BodyBodyTypes. m_attachment(package private) Body[]EdgeShapes. m_bodies(package private) Body[]PolyShapes. m_bodies(package private) Body[]RayCastTest. m_bodies(package private) Body[]SensorTest. m_bodies(package private) Body[]Web. m_bodies(package private) BodyApplyForce. m_body(package private) BodyContinuousTest. m_body(package private) BodyShapeEditing. m_body(package private) BodyBreakable. m_body1(package private) BodyVerticalStack. m_bulletprivate BodyCar. m_carprivate BodyCharacterCollision. m_character(package private) BodyTheoJansen. m_chassis(package private) BodyBodyTypes. m_platform(package private) BodyTheoJansen. m_wheelprivate BodyCar. m_wheel1private BodyCar. m_wheel2Methods in org.jbox2d.testbed.tests with parameters of type Body Modifier and Type Method Description java.lang.LongApplyForce. getTag(Body body)java.lang.LongBodyTypes. getTag(Body body)java.lang.LongCar. getTag(Body body)java.lang.LongCharacterCollision. getTag(Body argBody)java.lang.LongTheoJansen. getTag(Body argBody)java.lang.LongVerticalStack. getTag(Body argBody)voidApplyForce. processBody(Body body, java.lang.Long tag)voidBodyTypes. processBody(Body body, java.lang.Long tag)voidCar. processBody(Body body, java.lang.Long tag)voidCharacterCollision. processBody(Body argBody, java.lang.Long argTag)voidTheoJansen. processBody(Body argBody, java.lang.Long argTag)voidVerticalStack. processBody(Body argBody, java.lang.Long argTag)
-