Class: btVehicleTuning
Ammo.btVehicleTuning
Constructors
Methods
- get_m_suspensionStiffness
- set_m_suspensionStiffness
- get_m_suspensionCompression
- set_m_suspensionCompression
- get_m_suspensionDamping
- set_m_suspensionDamping
- get_m_maxSuspensionTravelCm
- set_m_maxSuspensionTravelCm
- get_m_frictionSlip
- set_m_frictionSlip
- get_m_maxSuspensionForce
- set_m_maxSuspensionForce
Constructors
constructor
• new btVehicleTuning(): btVehicleTuning
Returns
Defined in
Methods
get_m_suspensionStiffness
▸ get_m_suspensionStiffness(): number
Returns
number
Defined in
set_m_suspensionStiffness
▸ set_m_suspensionStiffness(m_suspensionStiffness
): void
Parameters
Name | Type |
---|---|
m_suspensionStiffness | number |
Returns
void
Defined in
get_m_suspensionCompression
▸ get_m_suspensionCompression(): number
Returns
number
Defined in
set_m_suspensionCompression
▸ set_m_suspensionCompression(m_suspensionCompression
): void
Parameters
Name | Type |
---|---|
m_suspensionCompression | number |
Returns
void
Defined in
get_m_suspensionDamping
▸ get_m_suspensionDamping(): number
Returns
number
Defined in
set_m_suspensionDamping
▸ set_m_suspensionDamping(m_suspensionDamping
): void
Parameters
Name | Type |
---|---|
m_suspensionDamping | number |
Returns
void
Defined in
get_m_maxSuspensionTravelCm
▸ get_m_maxSuspensionTravelCm(): number
Returns
number
Defined in
set_m_maxSuspensionTravelCm
▸ set_m_maxSuspensionTravelCm(m_maxSuspensionTravelCm
): void
Parameters
Name | Type |
---|---|
m_maxSuspensionTravelCm | number |
Returns
void
Defined in
get_m_frictionSlip
▸ get_m_frictionSlip(): number
Returns
number
Defined in
set_m_frictionSlip
▸ set_m_frictionSlip(m_frictionSlip
): void
Parameters
Name | Type |
---|---|
m_frictionSlip | number |
Returns
void
Defined in
get_m_maxSuspensionForce
▸ get_m_maxSuspensionForce(): number
Returns
number
Defined in
set_m_maxSuspensionForce
▸ set_m_maxSuspensionForce(m_maxSuspensionForce
): void
Parameters
Name | Type |
---|---|
m_maxSuspensionForce | number |
Returns
void