Skip to content

Class: ContactResultCallback

Ammo.ContactResultCallback

Constructors

Methods

Constructors

constructor

new ContactResultCallback(): ContactResultCallback

Returns

ContactResultCallback

Methods

addSingleResult

addSingleResult(cp, colObj0Wrap, partId0, index0, colObj1Wrap, partId1, index1): number

Parameters

NameType
cpbtManifoldPoint
colObj0WrapbtCollisionObjectWrapper
partId0number
index0number
colObj1WrapbtCollisionObjectWrapper
partId1number
index1number

Returns

number

Defined in

packages/ammo/ammo.d.ts:227