Skip to content

ammo-trigger.component overview


Table of contents


utils

AmmoTriggerComponent (class)

Signature

export declare class AmmoTriggerComponent {
  constructor(
    protected readonly world: AmmoWorldComponent,
    protected _nativeBody: Ammo.btPairCachingGhostObject,
    public readonly shape: Shape3DDescriptor
  )
}

checkOverlaps (method)

Signature

checkOverlaps(): void

clone (method)

Signature

clone(): AmmoTriggerComponent

addToWorld (method)

Signature

addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>)

removeFromWorld (method)

Signature

removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void

refreshCG (method)

Signature

refreshCG(): void

dispose (method)

Signature

dispose(): void

entity (property)

Signature

entity: any

onEnter$ (property)

Signature

readonly onEnter$: any

onLeft$ (property)

Signature

readonly onLeft$: any

overlaps (property)

Signature

readonly overlaps: any