Class: btRigidBodyConstructionInfo
Ammo.btRigidBodyConstructionInfo
Constructors
Methods
- get_m_linearDamping
- set_m_linearDamping
- get_m_angularDamping
- set_m_angularDamping
- get_m_friction
- set_m_friction
- get_m_rollingFriction
- set_m_rollingFriction
- get_m_restitution
- set_m_restitution
- get_m_linearSleepingThreshold
- set_m_linearSleepingThreshold
- get_m_angularSleepingThreshold
- set_m_angularSleepingThreshold
- get_m_additionalDamping
- set_m_additionalDamping
- get_m_additionalDampingFactor
- set_m_additionalDampingFactor
- get_m_additionalLinearDampingThresholdSqr
- set_m_additionalLinearDampingThresholdSqr
- get_m_additionalAngularDampingThresholdSqr
- set_m_additionalAngularDampingThresholdSqr
- get_m_additionalAngularDampingFactor
- set_m_additionalAngularDampingFactor
Constructors
constructor
• new btRigidBodyConstructionInfo(mass
, motionState
, collisionShape
, localInertia?
): btRigidBodyConstructionInfo
Parameters
Name | Type |
---|---|
mass | number |
motionState | btMotionState |
collisionShape | btCollisionShape |
localInertia? | btVector3 |
Returns
Defined in
Methods
get_m_linearDamping
▸ get_m_linearDamping(): number
Returns
number
Defined in
set_m_linearDamping
▸ set_m_linearDamping(m_linearDamping
): void
Parameters
Name | Type |
---|---|
m_linearDamping | number |
Returns
void
Defined in
get_m_angularDamping
▸ get_m_angularDamping(): number
Returns
number
Defined in
set_m_angularDamping
▸ set_m_angularDamping(m_angularDamping
): void
Parameters
Name | Type |
---|---|
m_angularDamping | number |
Returns
void
Defined in
get_m_friction
▸ get_m_friction(): number
Returns
number
Defined in
set_m_friction
▸ set_m_friction(m_friction
): void
Parameters
Name | Type |
---|---|
m_friction | number |
Returns
void
Defined in
get_m_rollingFriction
▸ get_m_rollingFriction(): number
Returns
number
Defined in
set_m_rollingFriction
▸ set_m_rollingFriction(m_rollingFriction
): void
Parameters
Name | Type |
---|---|
m_rollingFriction | number |
Returns
void
Defined in
get_m_restitution
▸ get_m_restitution(): number
Returns
number
Defined in
set_m_restitution
▸ set_m_restitution(m_restitution
): void
Parameters
Name | Type |
---|---|
m_restitution | number |
Returns
void
Defined in
get_m_linearSleepingThreshold
▸ get_m_linearSleepingThreshold(): number
Returns
number
Defined in
set_m_linearSleepingThreshold
▸ set_m_linearSleepingThreshold(m_linearSleepingThreshold
): void
Parameters
Name | Type |
---|---|
m_linearSleepingThreshold | number |
Returns
void
Defined in
get_m_angularSleepingThreshold
▸ get_m_angularSleepingThreshold(): number
Returns
number
Defined in
set_m_angularSleepingThreshold
▸ set_m_angularSleepingThreshold(m_angularSleepingThreshold
): void
Parameters
Name | Type |
---|---|
m_angularSleepingThreshold | number |
Returns
void
Defined in
get_m_additionalDamping
▸ get_m_additionalDamping(): boolean
Returns
boolean
Defined in
set_m_additionalDamping
▸ set_m_additionalDamping(m_additionalDamping
): void
Parameters
Name | Type |
---|---|
m_additionalDamping | boolean |
Returns
void
Defined in
get_m_additionalDampingFactor
▸ get_m_additionalDampingFactor(): number
Returns
number
Defined in
set_m_additionalDampingFactor
▸ set_m_additionalDampingFactor(m_additionalDampingFactor
): void
Parameters
Name | Type |
---|---|
m_additionalDampingFactor | number |
Returns
void
Defined in
get_m_additionalLinearDampingThresholdSqr
▸ get_m_additionalLinearDampingThresholdSqr(): number
Returns
number
Defined in
set_m_additionalLinearDampingThresholdSqr
▸ set_m_additionalLinearDampingThresholdSqr(m_additionalLinearDampingThresholdSqr
): void
Parameters
Name | Type |
---|---|
m_additionalLinearDampingThresholdSqr | number |
Returns
void
Defined in
get_m_additionalAngularDampingThresholdSqr
▸ get_m_additionalAngularDampingThresholdSqr(): number
Returns
number
Defined in
set_m_additionalAngularDampingThresholdSqr
▸ set_m_additionalAngularDampingThresholdSqr(m_additionalAngularDampingThresholdSqr
): void
Parameters
Name | Type |
---|---|
m_additionalAngularDampingThresholdSqr | number |
Returns
void
Defined in
get_m_additionalAngularDampingFactor
▸ get_m_additionalAngularDampingFactor(): number
Returns
number
Defined in
set_m_additionalAngularDampingFactor
▸ set_m_additionalAngularDampingFactor(m_additionalAngularDampingFactor
): void
Parameters
Name | Type |
---|---|
m_additionalAngularDampingFactor | number |
Returns
void