Options
All
  • Public
  • Public/Protected
  • All
Menu

Module physics2d

Index

Variables

Const PHYSICS_2D_PTM_RATIO

PHYSICS_2D_PTM_RATIO: 32 = 32

Let instance

instance: PhysicsSystem2D | null = null

menu

menu: (path: string) => ClassDecorator

Type declaration

    • (path: string): ClassDecorator
    • Parameters

      • path: string

      Returns ClassDecorator

property

property: property

Const tempVec2

tempVec2: Vec2 = new Vec2()

Const tempVec3_1

tempVec3_1: Vec3 = new Vec3()

Const tempVec3_2

tempVec3_2: Vec3 = new Vec3()

type

type: type

Functions

initPhysicsSystem

  • initPhysicsSystem(): void

Object literals

Const Contact2DType

Contact2DType: object

BEGIN_CONTACT

BEGIN_CONTACT: string = "begin-contact"

END_CONTACT

END_CONTACT: string = "end-contact"

None

None: string = "none-contact"

POST_SOLVE

POST_SOLVE: string = "post-solve"

PRE_SOLVE

PRE_SOLVE: string = "pre-solve"

Generated using TypeDoc