CollisionDebug-Component

Attach this to a GraphicsEngine entity to debug/observe collisions.

This is for debugging/utility only. Keep in mind that it puts additional load on the calculations.

Hierarchy

Implements

Constructors

Properties

_debugLayer: RenderElement
_engine: CollisionEngine = null
_limitReached: boolean = false
drawLimit: number
entity: Entity = null
poolQuads: QuadElement[] = []
poolQuadsUsed: number = 0
printLimitWarning: boolean

Accessors

Methods

Generated using TypeDoc