RigidBodyType Enum

Module: cc

Enum for RigidBodyType.

Index

  • Static
  • Kinematic
  • Dynamic
  • Animated

Details

Static

zero mass, zero velocity, may be manually moved.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsTypes.js:18
Kinematic

zero mass, non-zero velocity set by user.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsTypes.js:26
Dynamic

positive mass, non-zero velocity determined by forces.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsTypes.js:34
Animated

An extension of Kinematic type, can be animated by Animation.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/physics/CCPhysicsTypes.js:42

results matching ""

    No results matching ""