#include <CCPhysicsJoint.h>
virtual bool createConstraints |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in PhysicsJointMotor, PhysicsJointGear, PhysicsJointRatchet, PhysicsJointRotaryLimit, PhysicsJointRotarySpring, PhysicsJointGroove, PhysicsJointSpring, PhysicsJointDistance, PhysicsJointPin, PhysicsJointLimit, and PhysicsJointFixed.
var createConstraints |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in PhysicsJointMotor, PhysicsJointGear, PhysicsJointRatchet, PhysicsJointRotaryLimit, PhysicsJointRotarySpring, PhysicsJointGroove, PhysicsJointSpring, PhysicsJointDistance, PhysicsJointPin, PhysicsJointLimit, and PhysicsJointFixed.
local createConstraints |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in PhysicsJointMotor, PhysicsJointGear, PhysicsJointRatchet, PhysicsJointRotaryLimit, PhysicsJointRotarySpring, PhysicsJointGroove, PhysicsJointSpring, PhysicsJointDistance, PhysicsJointPin, PhysicsJointLimit, and PhysicsJointFixed.
float getMaxForce |
( |
| ) |
const |
|
inline |
Get the max force setting.
Get the max force setting.
Get the max force setting.
var init |
( |
var |
a, |
|
|
var |
b |
|
) |
| |
|
protected |
local init |
( |
local |
a, |
|
|
local |
b |
|
) |
| |
|
protected |
bool isCollisionEnabled |
( |
| ) |
const |
|
inline |
var isCollisionEnabled |
( |
| ) |
|
|
inline |
local isCollisionEnabled |
( |
| ) |
|
|
inline |
Remove the joint from the world.
Remove the joint from the world.
local removeFormWorld |
( |
| ) |
|
Remove the joint from the world.
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.
void setEnable |
( |
bool |
enable | ) |
|
Enable/Disable the joint.
var setEnable |
( |
var |
enable | ) |
|
Enable/Disable the joint.
local setEnable |
( |
local |
enable | ) |
|
Enable/Disable the joint.
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.
local setTag |
( |
local |
tag | ) |
|
|
inline |
std::vector<cpConstraint*>
_cpConstraints |
|
protected |
The documentation for this class was generated from the following file: