IRigidBody Class

Module: cc Parent Module: cc

Rigid body interface

Index

Properties
Methods

Details

Properties

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

Methods

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

results matching ""

    No results matching ""