Class: btWheelInfo
Ammo.btWheelInfo
Constructors
Methods
- get_m_suspensionStiffness
- set_m_suspensionStiffness
- get_m_frictionSlip
- set_m_frictionSlip
- get_m_engineForce
- set_m_engineForce
- get_m_rollInfluence
- set_m_rollInfluence
- get_m_suspensionRestLength1
- set_m_suspensionRestLength1
- get_m_wheelsRadius
- set_m_wheelsRadius
- get_m_wheelsDampingCompression
- set_m_wheelsDampingCompression
- get_m_wheelsDampingRelaxation
- set_m_wheelsDampingRelaxation
- get_m_steering
- set_m_steering
- get_m_maxSuspensionForce
- set_m_maxSuspensionForce
- get_m_maxSuspensionTravelCm
- set_m_maxSuspensionTravelCm
- get_m_wheelsSuspensionForce
- set_m_wheelsSuspensionForce
- get_m_bIsFrontWheel
- set_m_bIsFrontWheel
- get_m_raycastInfo
- set_m_raycastInfo
- get_m_chassisConnectionPointCS
- set_m_chassisConnectionPointCS
- getSuspensionRestLength
- updateWheel
- get_m_worldTransform
- set_m_worldTransform
- get_m_wheelDirectionCS
- set_m_wheelDirectionCS
- get_m_wheelAxleCS
- set_m_wheelAxleCS
- get_m_rotation
- set_m_rotation
- get_m_deltaRotation
- set_m_deltaRotation
- get_m_brake
- set_m_brake
- get_m_clippedInvContactDotSuspension
- set_m_clippedInvContactDotSuspension
- get_m_suspensionRelativeVelocity
- set_m_suspensionRelativeVelocity
- get_m_skidInfo
- set_m_skidInfo
Constructors
constructor
• new btWheelInfo(ci
): btWheelInfo
Parameters
Name | Type |
---|---|
ci | btWheelInfoConstructionInfo |
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_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_engineForce
▸ get_m_engineForce(): number
Returns
number
Defined in
set_m_engineForce
▸ set_m_engineForce(m_engineForce
): void
Parameters
Name | Type |
---|---|
m_engineForce | number |
Returns
void
Defined in
get_m_rollInfluence
▸ get_m_rollInfluence(): number
Returns
number
Defined in
set_m_rollInfluence
▸ set_m_rollInfluence(m_rollInfluence
): void
Parameters
Name | Type |
---|---|
m_rollInfluence | number |
Returns
void
Defined in
get_m_suspensionRestLength1
▸ get_m_suspensionRestLength1(): number
Returns
number
Defined in
set_m_suspensionRestLength1
▸ set_m_suspensionRestLength1(m_suspensionRestLength1
): void
Parameters
Name | Type |
---|---|
m_suspensionRestLength1 | number |
Returns
void
Defined in
get_m_wheelsRadius
▸ get_m_wheelsRadius(): number
Returns
number
Defined in
set_m_wheelsRadius
▸ set_m_wheelsRadius(m_wheelsRadius
): void
Parameters
Name | Type |
---|---|
m_wheelsRadius | number |
Returns
void
Defined in
get_m_wheelsDampingCompression
▸ get_m_wheelsDampingCompression(): number
Returns
number
Defined in
set_m_wheelsDampingCompression
▸ set_m_wheelsDampingCompression(m_wheelsDampingCompression
): void
Parameters
Name | Type |
---|---|
m_wheelsDampingCompression | number |
Returns
void
Defined in
get_m_wheelsDampingRelaxation
▸ get_m_wheelsDampingRelaxation(): number
Returns
number
Defined in
set_m_wheelsDampingRelaxation
▸ set_m_wheelsDampingRelaxation(m_wheelsDampingRelaxation
): void
Parameters
Name | Type |
---|---|
m_wheelsDampingRelaxation | number |
Returns
void
Defined in
get_m_steering
▸ get_m_steering(): number
Returns
number
Defined in
set_m_steering
▸ set_m_steering(m_steering
): void
Parameters
Name | Type |
---|---|
m_steering | 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
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_wheelsSuspensionForce
▸ get_m_wheelsSuspensionForce(): number
Returns
number
Defined in
set_m_wheelsSuspensionForce
▸ set_m_wheelsSuspensionForce(m_wheelsSuspensionForce
): void
Parameters
Name | Type |
---|---|
m_wheelsSuspensionForce | number |
Returns
void
Defined in
get_m_bIsFrontWheel
▸ get_m_bIsFrontWheel(): boolean
Returns
boolean
Defined in
set_m_bIsFrontWheel
▸ set_m_bIsFrontWheel(m_bIsFrontWheel
): void
Parameters
Name | Type |
---|---|
m_bIsFrontWheel | boolean |
Returns
void
Defined in
get_m_raycastInfo
▸ get_m_raycastInfo(): RaycastInfo
Returns
Defined in
set_m_raycastInfo
▸ set_m_raycastInfo(m_raycastInfo
): void
Parameters
Name | Type |
---|---|
m_raycastInfo | RaycastInfo |
Returns
void
Defined in
get_m_chassisConnectionPointCS
▸ get_m_chassisConnectionPointCS(): btVector3
Returns
Defined in
set_m_chassisConnectionPointCS
▸ set_m_chassisConnectionPointCS(m_chassisConnectionPointCS
): void
Parameters
Name | Type |
---|---|
m_chassisConnectionPointCS | btVector3 |
Returns
void
Defined in
getSuspensionRestLength
▸ getSuspensionRestLength(): number
Returns
number
Defined in
updateWheel
▸ updateWheel(chassis
, raycastInfo
): void
Parameters
Name | Type |
---|---|
chassis | btRigidBody |
raycastInfo | RaycastInfo |
Returns
void
Defined in
get_m_worldTransform
▸ get_m_worldTransform(): btTransform
Returns
Defined in
set_m_worldTransform
▸ set_m_worldTransform(m_worldTransform
): void
Parameters
Name | Type |
---|---|
m_worldTransform | btTransform |
Returns
void
Defined in
get_m_wheelDirectionCS
▸ get_m_wheelDirectionCS(): btVector3
Returns
Defined in
set_m_wheelDirectionCS
▸ set_m_wheelDirectionCS(m_wheelDirectionCS
): void
Parameters
Name | Type |
---|---|
m_wheelDirectionCS | btVector3 |
Returns
void
Defined in
get_m_wheelAxleCS
▸ get_m_wheelAxleCS(): btVector3
Returns
Defined in
set_m_wheelAxleCS
▸ set_m_wheelAxleCS(m_wheelAxleCS
): void
Parameters
Name | Type |
---|---|
m_wheelAxleCS | btVector3 |
Returns
void
Defined in
get_m_rotation
▸ get_m_rotation(): number
Returns
number
Defined in
set_m_rotation
▸ set_m_rotation(m_rotation
): void
Parameters
Name | Type |
---|---|
m_rotation | number |
Returns
void
Defined in
get_m_deltaRotation
▸ get_m_deltaRotation(): number
Returns
number
Defined in
set_m_deltaRotation
▸ set_m_deltaRotation(m_deltaRotation
): void
Parameters
Name | Type |
---|---|
m_deltaRotation | number |
Returns
void
Defined in
get_m_brake
▸ get_m_brake(): number
Returns
number
Defined in
set_m_brake
▸ set_m_brake(m_brake
): void
Parameters
Name | Type |
---|---|
m_brake | number |
Returns
void
Defined in
get_m_clippedInvContactDotSuspension
▸ get_m_clippedInvContactDotSuspension(): number
Returns
number
Defined in
set_m_clippedInvContactDotSuspension
▸ set_m_clippedInvContactDotSuspension(m_clippedInvContactDotSuspension
): void
Parameters
Name | Type |
---|---|
m_clippedInvContactDotSuspension | number |
Returns
void
Defined in
get_m_suspensionRelativeVelocity
▸ get_m_suspensionRelativeVelocity(): number
Returns
number
Defined in
set_m_suspensionRelativeVelocity
▸ set_m_suspensionRelativeVelocity(m_suspensionRelativeVelocity
): void
Parameters
Name | Type |
---|---|
m_suspensionRelativeVelocity | number |
Returns
void
Defined in
get_m_skidInfo
▸ get_m_skidInfo(): number
Returns
number
Defined in
set_m_skidInfo
▸ set_m_skidInfo(m_skidInfo
): void
Parameters
Name | Type |
---|---|
m_skidInfo | number |
Returns
void