Skip to content

Class: btCollisionObject

Ammo.btCollisionObject

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new btCollisionObject(): btCollisionObject

Returns

btCollisionObject

Properties

kB

kB: number

Defined in

packages/ammo/ammo.d.ts:128

Methods

setAnisotropicFriction

setAnisotropicFriction(anisotropicFriction, frictionMode): void

Parameters

NameType
anisotropicFrictionbtVector3
frictionModenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:129


getCollisionShape

getCollisionShape(): btCollisionShape

Returns

btCollisionShape

Defined in

packages/ammo/ammo.d.ts:130


setContactProcessingThreshold

setContactProcessingThreshold(contactProcessingThreshold): void

Parameters

NameType
contactProcessingThresholdnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:131


setActivationState

setActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:132


forceActivationState

forceActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:133


activate

activate(forceActivation?): void

Parameters

NameType
forceActivation?boolean

Returns

void

Defined in

packages/ammo/ammo.d.ts:134


isActive

isActive(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:135


isKinematicObject

isKinematicObject(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:136


isStaticObject

isStaticObject(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:137


isStaticOrKinematicObject

isStaticOrKinematicObject(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:138


getRestitution

getRestitution(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:139


getFriction

getFriction(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:140


getRollingFriction

getRollingFriction(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:141


setRestitution

setRestitution(rest): void

Parameters

NameType
restnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:142


setFriction

setFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:143


setRollingFriction

setRollingFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:144


getWorldTransform

getWorldTransform(): btTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:145


getCollisionFlags

getCollisionFlags(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:146


setCollisionFlags

setCollisionFlags(flags): void

Parameters

NameType
flagsnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:147


setWorldTransform

setWorldTransform(worldTrans): void

Parameters

NameType
worldTransbtTransform

Returns

void

Defined in

packages/ammo/ammo.d.ts:148


setCollisionShape

setCollisionShape(collisionShape): void

Parameters

NameType
collisionShapebtCollisionShape

Returns

void

Defined in

packages/ammo/ammo.d.ts:149


setCcdMotionThreshold

setCcdMotionThreshold(ccdMotionThreshold): void

Parameters

NameType
ccdMotionThresholdnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:150


setCcdSweptSphereRadius

setCcdSweptSphereRadius(radius): void

Parameters

NameType
radiusnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:151


getUserIndex

getUserIndex(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:152


setUserIndex

setUserIndex(index): void

Parameters

NameType
indexnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:153


getUserPointer

getUserPointer(): unknown

Returns

unknown

Defined in

packages/ammo/ammo.d.ts:154


setUserPointer

setUserPointer(userPointer): void

Parameters

NameType
userPointerunknown

Returns

void

Defined in

packages/ammo/ammo.d.ts:155


getBroadphaseHandle

getBroadphaseHandle(): btBroadphaseProxy

Returns

btBroadphaseProxy

Defined in

packages/ammo/ammo.d.ts:156