Skip to content

Class: btRigidBodyConstructionInfo

Ammo.btRigidBodyConstructionInfo

Constructors

Methods

Constructors

constructor

new btRigidBodyConstructionInfo(mass, motionState, collisionShape, localInertia?): btRigidBodyConstructionInfo

Parameters

NameType
massnumber
motionStatebtMotionState
collisionShapebtCollisionShape
localInertia?btVector3

Returns

btRigidBodyConstructionInfo

Defined in

packages/ammo/ammo.d.ts:470

Methods

get_m_linearDamping

get_m_linearDamping(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:471


set_m_linearDamping

set_m_linearDamping(m_linearDamping): void

Parameters

NameType
m_linearDampingnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:472


get_m_angularDamping

get_m_angularDamping(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:473


set_m_angularDamping

set_m_angularDamping(m_angularDamping): void

Parameters

NameType
m_angularDampingnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:474


get_m_friction

get_m_friction(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:475


set_m_friction

set_m_friction(m_friction): void

Parameters

NameType
m_frictionnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:476


get_m_rollingFriction

get_m_rollingFriction(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:477


set_m_rollingFriction

set_m_rollingFriction(m_rollingFriction): void

Parameters

NameType
m_rollingFrictionnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:478


get_m_restitution

get_m_restitution(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:479


set_m_restitution

set_m_restitution(m_restitution): void

Parameters

NameType
m_restitutionnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:480


get_m_linearSleepingThreshold

get_m_linearSleepingThreshold(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:481


set_m_linearSleepingThreshold

set_m_linearSleepingThreshold(m_linearSleepingThreshold): void

Parameters

NameType
m_linearSleepingThresholdnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:482


get_m_angularSleepingThreshold

get_m_angularSleepingThreshold(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:483


set_m_angularSleepingThreshold

set_m_angularSleepingThreshold(m_angularSleepingThreshold): void

Parameters

NameType
m_angularSleepingThresholdnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:484


get_m_additionalDamping

get_m_additionalDamping(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:485


set_m_additionalDamping

set_m_additionalDamping(m_additionalDamping): void

Parameters

NameType
m_additionalDampingboolean

Returns

void

Defined in

packages/ammo/ammo.d.ts:486


get_m_additionalDampingFactor

get_m_additionalDampingFactor(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:487


set_m_additionalDampingFactor

set_m_additionalDampingFactor(m_additionalDampingFactor): void

Parameters

NameType
m_additionalDampingFactornumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:488


get_m_additionalLinearDampingThresholdSqr

get_m_additionalLinearDampingThresholdSqr(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:489


set_m_additionalLinearDampingThresholdSqr

set_m_additionalLinearDampingThresholdSqr(m_additionalLinearDampingThresholdSqr): void

Parameters

NameType
m_additionalLinearDampingThresholdSqrnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:490


get_m_additionalAngularDampingThresholdSqr

get_m_additionalAngularDampingThresholdSqr(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:491


set_m_additionalAngularDampingThresholdSqr

set_m_additionalAngularDampingThresholdSqr(m_additionalAngularDampingThresholdSqr): void

Parameters

NameType
m_additionalAngularDampingThresholdSqrnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:492


get_m_additionalAngularDampingFactor

get_m_additionalAngularDampingFactor(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:493


set_m_additionalAngularDampingFactor

set_m_additionalAngularDampingFactor(m_additionalAngularDampingFactor): void

Parameters

NameType
m_additionalAngularDampingFactornumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:494