Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
physics2d
ERigidBody2DType
Enumeration ERigidBody2DType
Index
Enumeration members
Animated
Dynamic
Kinematic
Static
Enumeration members
Animated
Animated
:
= 3
Kinematic 类型的扩展,可以被动画控制动画效果。
Dynamic
Dynamic
:
= 2
有质量,可以设置速度,力等。
Kinematic
Kinematic
:
= 1
零质量,可以被设置速度。
Static
Static
:
= 0
零质量,零速度,可以手动移动。
Globals
physics2d
ECollider2DType
EJoint2DType
EPhysics2DDraw
Flags
ERaycast2DType
ERigid
Body2DType
Animated
Dynamic
Kinematic
Static
Box
Collider2D
Circle
Collider2D
Collider2D
Distance
Joint2D
Fixed
Joint2D
Hinge
Joint2D
Joint2D
Mouse
Joint2D
Physics
System2D
Polygon
Collider2D
Relative
Joint2D
Rigid
Body2D
Slider
Joint2D
Spring
Joint2D
Wheel
Joint2D
Raycast
Result2D
PHYSICS_
2
D_
PTM_
RATIO
instance
menu
property
temp
Vec2
temp
Vec3_
1
temp
Vec3_
2
type
init
Physics
System
Contact2DType
Generated using
TypeDoc
Kinematic 类型的扩展,可以被动画控制动画效果。