Class: RaycastInfo
Ammo.RaycastInfo
Constructors
Methods
- get_m_contactNormalWS
- set_m_contactNormalWS
- get_m_contactPointWS
- set_m_contactPointWS
- get_m_suspensionLength
- set_m_suspensionLength
- get_m_hardPointWS
- set_m_hardPointWS
- get_m_wheelDirectionWS
- set_m_wheelDirectionWS
- get_m_wheelAxleWS
- set_m_wheelAxleWS
- get_m_isInContact
- set_m_isInContact
- get_m_groundObject
- set_m_groundObject
Constructors
constructor
• new RaycastInfo(): RaycastInfo
Returns
Methods
get_m_contactNormalWS
▸ get_m_contactNormalWS(): btVector3
Returns
Defined in
set_m_contactNormalWS
▸ set_m_contactNormalWS(m_contactNormalWS
): void
Parameters
Name | Type |
---|---|
m_contactNormalWS | btVector3 |
Returns
void
Defined in
get_m_contactPointWS
▸ get_m_contactPointWS(): btVector3
Returns
Defined in
set_m_contactPointWS
▸ set_m_contactPointWS(m_contactPointWS
): void
Parameters
Name | Type |
---|---|
m_contactPointWS | btVector3 |
Returns
void
Defined in
get_m_suspensionLength
▸ get_m_suspensionLength(): number
Returns
number
Defined in
set_m_suspensionLength
▸ set_m_suspensionLength(m_suspensionLength
): void
Parameters
Name | Type |
---|---|
m_suspensionLength | number |
Returns
void
Defined in
get_m_hardPointWS
▸ get_m_hardPointWS(): btVector3
Returns
Defined in
set_m_hardPointWS
▸ set_m_hardPointWS(m_hardPointWS
): void
Parameters
Name | Type |
---|---|
m_hardPointWS | btVector3 |
Returns
void
Defined in
get_m_wheelDirectionWS
▸ get_m_wheelDirectionWS(): btVector3
Returns
Defined in
set_m_wheelDirectionWS
▸ set_m_wheelDirectionWS(m_wheelDirectionWS
): void
Parameters
Name | Type |
---|---|
m_wheelDirectionWS | btVector3 |
Returns
void
Defined in
get_m_wheelAxleWS
▸ get_m_wheelAxleWS(): btVector3
Returns
Defined in
set_m_wheelAxleWS
▸ set_m_wheelAxleWS(m_wheelAxleWS
): void
Parameters
Name | Type |
---|---|
m_wheelAxleWS | btVector3 |
Returns
void
Defined in
get_m_isInContact
▸ get_m_isInContact(): boolean
Returns
boolean
Defined in
set_m_isInContact
▸ set_m_isInContact(m_isInContact
): void
Parameters
Name | Type |
---|---|
m_isInContact | boolean |
Returns
void
Defined in
get_m_groundObject
▸ get_m_groundObject(): any
Returns
any
Defined in
set_m_groundObject
▸ set_m_groundObject(m_groundObject
): void
Parameters
Name | Type |
---|---|
m_groundObject | any |
Returns
void