Skip to content

Class: btGImpactMeshShape

Ammo.btGImpactMeshShape

Hierarchy

Constructors

Methods

Constructors

constructor

new btGImpactMeshShape(meshInterface): btGImpactMeshShape

Parameters

NameType
meshInterfacebtStridingMeshInterface

Returns

btGImpactMeshShape

Overrides

btTriangleMeshShape.constructor

Defined in

packages/ammo/ammo.d.ts:420

Methods

setLocalScaling

setLocalScaling(scaling): void

Parameters

NameType
scalingbtVector3

Returns

void

Inherited from

btTriangleMeshShape.setLocalScaling

Defined in

packages/ammo/ammo.d.ts:273


getLocalScaling

getLocalScaling(): btVector3

Returns

btVector3

Inherited from

btTriangleMeshShape.getLocalScaling

Defined in

packages/ammo/ammo.d.ts:274


calculateLocalInertia

calculateLocalInertia(mass, inertia): void

Parameters

NameType
massnumber
inertiabtVector3

Returns

void

Inherited from

btTriangleMeshShape.calculateLocalInertia

Defined in

packages/ammo/ammo.d.ts:275


setMargin

setMargin(margin): void

Parameters

NameType
marginnumber

Returns

void

Inherited from

btTriangleMeshShape.setMargin

Defined in

packages/ammo/ammo.d.ts:276


getMargin

getMargin(): number

Returns

number

Inherited from

btTriangleMeshShape.getMargin

Defined in

packages/ammo/ammo.d.ts:277


updateBound

updateBound(): void

Returns

void

Defined in

packages/ammo/ammo.d.ts:421

Released under the MIT License