Skip to content

Class: btCapsuleShapeX

Ammo.btCapsuleShapeX

Hierarchy

Constructors

Methods

Constructors

constructor

new btCapsuleShapeX(radius, height): btCapsuleShapeX

Parameters

NameType
radiusnumber
heightnumber

Returns

btCapsuleShapeX

Overrides

btCapsuleShape.constructor

Defined in

packages/ammo/ammo.d.ts:297

Methods

setLocalScaling

setLocalScaling(scaling): void

Parameters

NameType
scalingbtVector3

Returns

void

Inherited from

btCapsuleShape.setLocalScaling

Defined in

packages/ammo/ammo.d.ts:273


getLocalScaling

getLocalScaling(): btVector3

Returns

btVector3

Inherited from

btCapsuleShape.getLocalScaling

Defined in

packages/ammo/ammo.d.ts:274


calculateLocalInertia

calculateLocalInertia(mass, inertia): void

Parameters

NameType
massnumber
inertiabtVector3

Returns

void

Inherited from

btCapsuleShape.calculateLocalInertia

Defined in

packages/ammo/ammo.d.ts:275


getUpAxis

getUpAxis(): number

Returns

number

Inherited from

btCapsuleShape.getUpAxis

Defined in

packages/ammo/ammo.d.ts:292


getRadius

getRadius(): number

Returns

number

Inherited from

btCapsuleShape.getRadius

Defined in

packages/ammo/ammo.d.ts:293


getHalfHeight

getHalfHeight(): number

Returns

number

Inherited from

btCapsuleShape.getHalfHeight

Defined in

packages/ammo/ammo.d.ts:294


setMargin

setMargin(margin): void

Parameters

NameType
marginnumber

Returns

void

Overrides

btCapsuleShape.setMargin

Defined in

packages/ammo/ammo.d.ts:298


getMargin

getMargin(): number

Returns

number

Overrides

btCapsuleShape.getMargin

Defined in

packages/ammo/ammo.d.ts:299

Released under the MIT License