An PhysicsJoint object connects two physics bodies together.
More...
Inherited by PhysicsJointDistance, PhysicsJointFixed, PhysicsJointGear, PhysicsJointGroove, PhysicsJointLimit, PhysicsJointMotor, PhysicsJointPin, PhysicsJointRatchet, PhysicsJointRotaryLimit, PhysicsJointRotarySpring, and PhysicsJointSpring.
An PhysicsJoint object connects two physics bodies together.
Get physics body a connected to this joint.
Get physics body b connected to this joint.
Get this joint's tag.
- Returns
- An integer number.
Set this joint's tag.
- Parameters
-
Determines if the joint is enable.
void setEnable |
( |
bool |
enable | ) |
|
Enable/Disable the joint.
bool isCollisionEnabled |
( |
| ) |
const |
|
inline |
Determines if the collision is enable.
void setCollisionEnable |
( |
bool |
enable | ) |
|
Enable/disable the collision between two bodies.
Remove the joint from the world.
void setMaxForce |
( |
float |
force | ) |
|
Set the max force between two bodies.
float getMaxForce |
( |
| ) |
const |
|
inline |
Get the max force setting.
The documentation for this class was generated from the following file: