Interface IPhysicsManagerModule
Properties
physicsEnable
physicsEnable: boolean
Methods
addPhysicsGround
- addPhysicsGround(): Plane
enablePhysicsEngine
- enablePhysicsEngine(): Promise<CANNON>
Returns Promise<CANNON>
removePhysicsObject
- removePhysicsObject(object): any
Parameters
object: Object3D<Object3DEventMap> | Entity
Returns any
setPhysicsDebugger
- setPhysicsDebugger(enable): void
Returns void
是否能用物理引擎