Skip to content

Class: btGhostObject

Ammo.btGhostObject

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new btGhostObject(): btGhostObject

Returns

btGhostObject

Overrides

btCollisionObject.constructor

Defined in

packages/ammo/ammo.d.ts:874

Properties

kB

kB: number

Inherited from

btCollisionObject.kB

Defined in

packages/ammo/ammo.d.ts:128

Methods

setAnisotropicFriction

setAnisotropicFriction(anisotropicFriction, frictionMode): void

Parameters

NameType
anisotropicFrictionbtVector3
frictionModenumber

Returns

void

Inherited from

btCollisionObject.setAnisotropicFriction

Defined in

packages/ammo/ammo.d.ts:129


getCollisionShape

getCollisionShape(): btCollisionShape

Returns

btCollisionShape

Inherited from

btCollisionObject.getCollisionShape

Defined in

packages/ammo/ammo.d.ts:130


setContactProcessingThreshold

setContactProcessingThreshold(contactProcessingThreshold): void

Parameters

NameType
contactProcessingThresholdnumber

Returns

void

Inherited from

btCollisionObject.setContactProcessingThreshold

Defined in

packages/ammo/ammo.d.ts:131


setActivationState

setActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Inherited from

btCollisionObject.setActivationState

Defined in

packages/ammo/ammo.d.ts:132


forceActivationState

forceActivationState(newState): void

Parameters

NameType
newStatenumber

Returns

void

Inherited from

btCollisionObject.forceActivationState

Defined in

packages/ammo/ammo.d.ts:133


activate

activate(forceActivation?): void

Parameters

NameType
forceActivation?boolean

Returns

void

Inherited from

btCollisionObject.activate

Defined in

packages/ammo/ammo.d.ts:134


isActive

isActive(): boolean

Returns

boolean

Inherited from

btCollisionObject.isActive

Defined in

packages/ammo/ammo.d.ts:135


isKinematicObject

isKinematicObject(): boolean

Returns

boolean

Inherited from

btCollisionObject.isKinematicObject

Defined in

packages/ammo/ammo.d.ts:136


isStaticObject

isStaticObject(): boolean

Returns

boolean

Inherited from

btCollisionObject.isStaticObject

Defined in

packages/ammo/ammo.d.ts:137


isStaticOrKinematicObject

isStaticOrKinematicObject(): boolean

Returns

boolean

Inherited from

btCollisionObject.isStaticOrKinematicObject

Defined in

packages/ammo/ammo.d.ts:138


getRestitution

getRestitution(): number

Returns

number

Inherited from

btCollisionObject.getRestitution

Defined in

packages/ammo/ammo.d.ts:139


getFriction

getFriction(): number

Returns

number

Inherited from

btCollisionObject.getFriction

Defined in

packages/ammo/ammo.d.ts:140


getRollingFriction

getRollingFriction(): number

Returns

number

Inherited from

btCollisionObject.getRollingFriction

Defined in

packages/ammo/ammo.d.ts:141


setRestitution

setRestitution(rest): void

Parameters

NameType
restnumber

Returns

void

Inherited from

btCollisionObject.setRestitution

Defined in

packages/ammo/ammo.d.ts:142


setFriction

setFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Inherited from

btCollisionObject.setFriction

Defined in

packages/ammo/ammo.d.ts:143


setRollingFriction

setRollingFriction(frict): void

Parameters

NameType
frictnumber

Returns

void

Inherited from

btCollisionObject.setRollingFriction

Defined in

packages/ammo/ammo.d.ts:144


getWorldTransform

getWorldTransform(): btTransform

Returns

btTransform

Inherited from

btCollisionObject.getWorldTransform

Defined in

packages/ammo/ammo.d.ts:145


getCollisionFlags

getCollisionFlags(): number

Returns

number

Inherited from

btCollisionObject.getCollisionFlags

Defined in

packages/ammo/ammo.d.ts:146


setCollisionFlags

setCollisionFlags(flags): void

Parameters

NameType
flagsnumber

Returns

void

Inherited from

btCollisionObject.setCollisionFlags

Defined in

packages/ammo/ammo.d.ts:147


setWorldTransform

setWorldTransform(worldTrans): void

Parameters

NameType
worldTransbtTransform

Returns

void

Inherited from

btCollisionObject.setWorldTransform

Defined in

packages/ammo/ammo.d.ts:148


setCollisionShape

setCollisionShape(collisionShape): void

Parameters

NameType
collisionShapebtCollisionShape

Returns

void

Inherited from

btCollisionObject.setCollisionShape

Defined in

packages/ammo/ammo.d.ts:149


setCcdMotionThreshold

setCcdMotionThreshold(ccdMotionThreshold): void

Parameters

NameType
ccdMotionThresholdnumber

Returns

void

Inherited from

btCollisionObject.setCcdMotionThreshold

Defined in

packages/ammo/ammo.d.ts:150


setCcdSweptSphereRadius

setCcdSweptSphereRadius(radius): void

Parameters

NameType
radiusnumber

Returns

void

Inherited from

btCollisionObject.setCcdSweptSphereRadius

Defined in

packages/ammo/ammo.d.ts:151


getUserIndex

getUserIndex(): number

Returns

number

Inherited from

btCollisionObject.getUserIndex

Defined in

packages/ammo/ammo.d.ts:152


setUserIndex

setUserIndex(index): void

Parameters

NameType
indexnumber

Returns

void

Inherited from

btCollisionObject.setUserIndex

Defined in

packages/ammo/ammo.d.ts:153


getUserPointer

getUserPointer(): unknown

Returns

unknown

Inherited from

btCollisionObject.getUserPointer

Defined in

packages/ammo/ammo.d.ts:154


setUserPointer

setUserPointer(userPointer): void

Parameters

NameType
userPointerunknown

Returns

void

Inherited from

btCollisionObject.setUserPointer

Defined in

packages/ammo/ammo.d.ts:155


getBroadphaseHandle

getBroadphaseHandle(): btBroadphaseProxy

Returns

btBroadphaseProxy

Inherited from

btCollisionObject.getBroadphaseHandle

Defined in

packages/ammo/ammo.d.ts:156


getNumOverlappingObjects

getNumOverlappingObjects(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:875


getOverlappingObject

getOverlappingObject(index): btCollisionObject

Parameters

NameType
indexnumber

Returns

btCollisionObject

Defined in

packages/ammo/ammo.d.ts:876

Released under the MIT License