Skip to content

rapier-2d-trigger.component overview


Table of contents


utils

Rapier2dTriggerComponent (class)

Signature

export declare class Rapier2dTriggerComponent {
  constructor(
    protected readonly world: Rapier2dWorldComponent,
    protected _colliderDescr: ColliderDesc[],
    public readonly shape: Shape2DDescriptor,
    protected _bodyDescr: RigidBodyDesc
  )
}

addToWorld (method)

Signature

addToWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void

checkOverlaps (method)

Signature

checkOverlaps(): void

clone (method)

Signature

clone(): Rapier2dTriggerComponent

onEnter$ (property)

Signature

readonly onEnter$: any

onLeft$ (property)

Signature

readonly onLeft$: any