An PhysicsJoint object connects two physics bodies together.
More...
An PhysicsJoint object connects two physics bodies together.
◆ getBodyA()
Get physics body a connected to this joint.
◆ getBodyB()
Get physics body b connected to this joint.
◆ getWorld()
◆ getTag()
Get this joint's tag.
- Returns
- An integer number.
◆ setTag()
Set this joint's tag.
- Parameters
-
◆ isEnabled()
Determines if the joint is enable.
◆ setEnable()
void setEnable |
( |
bool |
enable | ) |
|
Enable/Disable the joint.
◆ isCollisionEnabled()
bool isCollisionEnabled |
( |
| ) |
const |
|
inline |
Determines if the collision is enable.
◆ setCollisionEnable()
void setCollisionEnable |
( |
bool |
enable | ) |
|
Enable/disable the collision between two bodies.
◆ removeFormWorld()
Remove the joint from the world.
◆ setMaxForce()
void setMaxForce |
( |
float |
force | ) |
|
Set the max force between two bodies.
◆ getMaxForce()
float getMaxForce |
( |
| ) |
const |
|
inline |
Get the max force setting.
The documentation for this class was generated from the following file: