Options
All
  • Public
  • Public/Protected
  • All
Menu

Module physics

Index

References

BoxColliderComponent

Renames and re-exports BoxCollider

CapsuleColliderComponent

Renames and re-exports CapsuleCollider

ColliderComponent

Renames and re-exports Collider

CylinderColliderComponent

Renames and re-exports CylinderCollider

MeshColliderComponent

Renames and re-exports MeshCollider

PhysicMaterial

Renames and re-exports PhysicsMaterial

RigidBodyComponent

Renames and re-exports RigidBody

SphereColliderComponent

Renames and re-exports SphereCollider

Type aliases

CollisionCallback

CollisionCallback: (event?: ICollisionEvent) => void
en

Callback function signature definition for collision events.

zh

碰撞事件的回调函数签名定义。

Type declaration

CollisionEventType

CollisionEventType: "onCollisionEnter" | "onCollisionStay" | "onCollisionExit"
en

Value type definitions for collision events.

zh

碰撞事件的值类型定义。

TriggerCallback

TriggerCallback: (event?: ITriggerEvent) => void
en

Signature definition of the callback function that triggers the event.

zh

触发事件的回调函数签名定义。

Type declaration

TriggerEventType

TriggerEventType: "onTriggerEnter" | "onTriggerStay" | "onTriggerExit"
en

The value type definition of the trigger event.

zh

触发事件的值类型定义。

Functions

findAttachedBody

initPhysicsSystem

  • initPhysicsSystem(): void

Generated using TypeDoc