Skip to content

Class: btPairCachingGhostObject

Ammo.btPairCachingGhostObject

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new btPairCachingGhostObject(): btPairCachingGhostObject

Returns

btPairCachingGhostObject

Overrides

btGhostObject.constructor

Defined in

packages/ammo/ammo.d.ts:879

Properties

kB

kB: number

Inherited from

btGhostObject.kB

Defined in

packages/ammo/ammo.d.ts:128

Methods

setAnisotropicFriction

setAnisotropicFriction(anisotropicFriction, frictionMode): void

Parameters

NameType
anisotropicFrictionbtVector3
frictionModenumber

Returns

void

Inherited from

btGhostObject.setAnisotropicFriction

Defined in

packages/ammo/ammo.d.ts:129


getCollisionShape

getCollisionShape(): btCollisionShape

Returns

btCollisionShape

Inherited from

btGhostObject.getCollisionShape

Defined in

packages/ammo/ammo.d.ts:130


setContactProcessingThreshold

setContactProcessingThreshold(contactProcessingThreshold): void

Parameters

NameType
contactProcessingThresholdnumber

Returns

void

Inherited from

btGhostObject.setContactProcessingThreshold

Defined in

packages/ammo/ammo.d.ts:131


setActivationState

setActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Inherited from

btGhostObject.setActivationState

Defined in

packages/ammo/ammo.d.ts:132


forceActivationState

forceActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Inherited from

btGhostObject.forceActivationState

Defined in

packages/ammo/ammo.d.ts:133


activate

activate(forceActivation?): void

Parameters

NameType
forceActivation?boolean

Returns

void

Inherited from

btGhostObject.activate

Defined in

packages/ammo/ammo.d.ts:134


isActive

isActive(): boolean

Returns

boolean

Inherited from

btGhostObject.isActive

Defined in

packages/ammo/ammo.d.ts:135


isKinematicObject

isKinematicObject(): boolean

Returns

boolean

Inherited from

btGhostObject.isKinematicObject

Defined in

packages/ammo/ammo.d.ts:136


isStaticObject

isStaticObject(): boolean

Returns

boolean

Inherited from

btGhostObject.isStaticObject

Defined in

packages/ammo/ammo.d.ts:137


isStaticOrKinematicObject

isStaticOrKinematicObject(): boolean

Returns

boolean

Inherited from

btGhostObject.isStaticOrKinematicObject

Defined in

packages/ammo/ammo.d.ts:138


getRestitution

getRestitution(): number

Returns

number

Inherited from

btGhostObject.getRestitution

Defined in

packages/ammo/ammo.d.ts:139


getFriction

getFriction(): number

Returns

number

Inherited from

btGhostObject.getFriction

Defined in

packages/ammo/ammo.d.ts:140


getRollingFriction

getRollingFriction(): number

Returns

number

Inherited from

btGhostObject.getRollingFriction

Defined in

packages/ammo/ammo.d.ts:141


setRestitution

setRestitution(rest): void

Parameters

NameType
restnumber

Returns

void

Inherited from

btGhostObject.setRestitution

Defined in

packages/ammo/ammo.d.ts:142


setFriction

setFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Inherited from

btGhostObject.setFriction

Defined in

packages/ammo/ammo.d.ts:143


setRollingFriction

setRollingFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Inherited from

btGhostObject.setRollingFriction

Defined in

packages/ammo/ammo.d.ts:144


getWorldTransform

getWorldTransform(): btTransform

Returns

btTransform

Inherited from

btGhostObject.getWorldTransform

Defined in

packages/ammo/ammo.d.ts:145


getCollisionFlags

getCollisionFlags(): number

Returns

number

Inherited from

btGhostObject.getCollisionFlags

Defined in

packages/ammo/ammo.d.ts:146


setCollisionFlags

setCollisionFlags(flags): void

Parameters

NameType
flagsnumber

Returns

void

Inherited from

btGhostObject.setCollisionFlags

Defined in

packages/ammo/ammo.d.ts:147


setWorldTransform

setWorldTransform(worldTrans): void

Parameters

NameType
worldTransbtTransform

Returns

void

Inherited from

btGhostObject.setWorldTransform

Defined in

packages/ammo/ammo.d.ts:148


setCollisionShape

setCollisionShape(collisionShape): void

Parameters

NameType
collisionShapebtCollisionShape

Returns

void

Inherited from

btGhostObject.setCollisionShape

Defined in

packages/ammo/ammo.d.ts:149


setCcdMotionThreshold

setCcdMotionThreshold(ccdMotionThreshold): void

Parameters

NameType
ccdMotionThresholdnumber

Returns

void

Inherited from

btGhostObject.setCcdMotionThreshold

Defined in

packages/ammo/ammo.d.ts:150


setCcdSweptSphereRadius

setCcdSweptSphereRadius(radius): void

Parameters

NameType
radiusnumber

Returns

void

Inherited from

btGhostObject.setCcdSweptSphereRadius

Defined in

packages/ammo/ammo.d.ts:151


getUserIndex

getUserIndex(): number

Returns

number

Inherited from

btGhostObject.getUserIndex

Defined in

packages/ammo/ammo.d.ts:152


setUserIndex

setUserIndex(index): void

Parameters

NameType
indexnumber

Returns

void

Inherited from

btGhostObject.setUserIndex

Defined in

packages/ammo/ammo.d.ts:153


getUserPointer

getUserPointer(): unknown

Returns

unknown

Inherited from

btGhostObject.getUserPointer

Defined in

packages/ammo/ammo.d.ts:154


setUserPointer

setUserPointer(userPointer): void

Parameters

NameType
userPointerunknown

Returns

void

Inherited from

btGhostObject.setUserPointer

Defined in

packages/ammo/ammo.d.ts:155


getBroadphaseHandle

getBroadphaseHandle(): btBroadphaseProxy

Returns

btBroadphaseProxy

Inherited from

btGhostObject.getBroadphaseHandle

Defined in

packages/ammo/ammo.d.ts:156


getNumOverlappingObjects

getNumOverlappingObjects(): number

Returns

number

Inherited from

btGhostObject.getNumOverlappingObjects

Defined in

packages/ammo/ammo.d.ts:875


getOverlappingObject

getOverlappingObject(index): btCollisionObject

Parameters

NameType
indexnumber

Returns

btCollisionObject

Inherited from

btGhostObject.getOverlappingObject

Defined in

packages/ammo/ammo.d.ts:876

Released under the MIT License