IRigidBody 类型

模块: cc 父模块: cc

Rigid body interface

索引

属性(properties)
方法

Details

属性(properties)

rigidBody
meta description
类型 RigidBody3D
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:37
mass
meta description
类型 number
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:42
linearDamping
meta description
类型 number
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:46
angularDamping
meta description
类型 number
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:50
isKinematic
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:54
useGravity
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:58
fixedRotation
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:62
linearFactor
meta description
类型 IVec3Like
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:66
angularFactor
meta description
类型 IVec3Like
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:70
allowSleep
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:74
isAwake
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:78
isSleepy
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:83
isSleeping
meta description
类型 boolean
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:88

方法

wakeUp
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:94
sleep
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:98
getLinearVelocity
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:103
参数列表
setLinearVelocity
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:108
参数列表
getAngularVelocity
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:113
参数列表
setAngularVelocity
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:118
参数列表
applyForce
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:124
参数列表
applyLocalForce
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:130
参数列表
applyImpulse
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:136
参数列表
applyLocalImpulse
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:142
参数列表
applyTorque
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:148
参数列表
applyLocalTorque
meta description
定义于 cocos2d/core/3d/physics/spec/I-rigid-body.ts:153
参数列表

条与 "" 相匹配的结果

    没有与 "" 匹配的结果