Package | Description |
---|---|
org.jbox2d.callbacks | |
org.jbox2d.dynamics | |
org.jbox2d.dynamics.joints |
Modifier and Type | Method and Description |
---|---|
void |
DestructionListener.sayGoodbye(Joint joint)
Called when any joint is about to be destroyed due
to the destruction of one of its attached bodies.
|
Modifier and Type | Field and Description |
---|---|
Joint[] |
Island.m_joints |
Modifier and Type | Method and Description |
---|---|
Joint |
World.createJoint(JointDef def)
create a joint to constrain bodies together.
|
Joint |
World.getJointList()
Get the world joint list.
|
Modifier and Type | Method and Description |
---|---|
void |
Island.add(Joint joint) |
void |
World.destroyJoint(Joint j)
destroy a joint.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantVolumeJoint |
class |
DistanceJoint
A distance joint constrains two points on two bodies to remain at a fixed distance from each
other.
|
class |
FrictionJoint |
class |
GearJoint
A gear joint is used to connect two joints together.
|
class |
MouseJoint
A mouse joint is used to make a point on a body track a specified world point.
|
class |
PrismaticJoint
A prismatic joint.
|
class |
PulleyJoint
The pulley joint is connected to two bodies and two fixed ground points.
|
class |
RevoluteJoint
A revolute joint constrains two bodies to share a common point while they are free to rotate
about the point.
|
class |
RopeJoint
A rope joint enforces a maximum distance between two points on two bodies.
|
class |
WeldJoint
A weld joint essentially glues two bodies together.
|
class |
WheelJoint
A wheel joint.
|
Modifier and Type | Field and Description |
---|---|
Joint |
JointEdge.joint
the joint
|
Joint |
GearJointDef.joint1
The first revolute/prismatic joint attached to the gear joint.
|
Joint |
GearJointDef.joint2
The second revolute/prismatic joint attached to the gear joint.
|
Joint |
Joint.m_next |
Joint |
Joint.m_prev |
Modifier and Type | Method and Description |
---|---|
static Joint |
Joint.create(World world,
JointDef def) |
Joint |
GearJoint.getJoint1() |
Joint |
GearJoint.getJoint2() |
Joint |
Joint.getNext()
get the next joint the world joint list.
|
Modifier and Type | Method and Description |
---|---|
static void |
Joint.destroy(Joint joint) |
Copyright © 2017. All Rights Reserved.