APIdia Launch Partner
Top Interfaces Classes
module gdx.box2d

Package com.badlogic.gdx.physics.box2d


Interface Summary

Modifier and TypeInterface and Description
public interface
ContactFilter

Implement this class to provide collision filtering.

public interface
public interface
public interface
QueryCallback

Callback class for AABB queries.

public interface
RayCastCallback

Callback class for ray casts.

Class Summary

Modifier and TypeClass and Description
public class
Body

A rigid body.

public class
BodyDef

A body definition holds all the data needed to construct a rigid body.

public class
Box2D

This class's only purpose is to initialize Box2D by calling its init() method.

public class
public class
public class
CircleShape

A circle shape.

public class
Contact

The class manages contact between two shapes.

public class
ContactImpulse

Contact impulses for reporting.

public class
EdgeShape

A line segment (edge) shape.

public class
Filter

This holds contact filtering data.

public class
public class
FixtureDef

A fixture definition is used to create a fixture.

public abstract class
public class
public class
JointEdge

A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge.

public class
public class
MassData

This holds the mass data computed for a shape.

public class
public abstract class
Shape

A shape is used for collision detection.

public class
Transform

Encodes a Box2D transform.

public class
World

The world class manages all physics entities, dynamic simulation, and asynchronous queries.

public class
WorldManifold

This is used to compute the current state of a contact manifold.