RigidBodyType
Enum
Enum for RigidBodyType.
Index
Static
Kinematic
Dynamic
Animated
Details
Static
zero mass, zero velocity, may be manually moved.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsTypes.js:43 |
Kinematic
zero mass, non-zero velocity set by user.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsTypes.js:51 |
Dynamic
positive mass, non-zero velocity determined by forces.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsTypes.js:59 |
Animated
An extension of Kinematic type, can be animated by Animation.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsTypes.js:67 |