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 a connected to this joint.
Get physics body a connected to this joint.
Get physics body b connected to this joint.
Get physics body b connected to this joint.
Get physics body b connected to this joint.
Get this joint's tag.
- Returns
- An integer number.
Get this joint's tag.
- Returns
- An integer number.
Get this joint's tag.
- Returns
- An integer number.
Set this joint's tag.
- Parameters
-
Set this joint's tag.
- Parameters
-
local setTag |
( |
local |
tag | ) |
|
|
inline |
Set this joint's tag.
- Parameters
-
Determines if the joint is enable.
Determines if the joint is enable.
Determines if the joint is enable.
void setEnable |
( |
bool |
enable | ) |
|
Enable/Disable the joint.
var setEnable |
( |
var |
enable | ) |
|
Enable/Disable the joint.
local setEnable |
( |
local |
enable | ) |
|
Enable/Disable the joint.
bool isCollisionEnabled |
( |
| ) |
const |
|
inline |
Determines if the collision is enable.
var isCollisionEnabled |
( |
| ) |
|
|
inline |
Determines if the collision is enable.
local isCollisionEnabled |
( |
| ) |
|
|
inline |
Determines if the collision is enable.
void setCollisionEnable |
( |
bool |
enable | ) |
|
Enable/disable the collision between two bodies.
var setCollisionEnable |
( |
var |
enable | ) |
|
Enable/disable the collision between two bodies.
local setCollisionEnable |
( |
local |
enable | ) |
|
Enable/disable the collision between two bodies.
Remove the joint from the world.
Remove the joint from the world.
local removeFormWorld |
( |
| ) |
|
Remove the joint from the world.
void setMaxForce |
( |
float |
force | ) |
|
Set the max force between two bodies.
var setMaxForce |
( |
var |
force | ) |
|
Set the max force between two bodies.
local setMaxForce |
( |
local |
force | ) |
|
Set the max force between two bodies.
float getMaxForce |
( |
| ) |
const |
|
inline |
Get the max force setting.
Get the max force setting.
Get the max force setting.
The documentation for this class was generated from the following file: