Struct PhysicWheel3D.WheelRaycastInfo
Structure that holds all the required properties to perform a wheel raycast.
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public struct PhysicWheel3D.WheelRaycastInfo
Fields
ContactNormalWS
Contact normal in world space.
Declaration
public Vector3 ContactNormalWS
Field Value
Type | Description |
---|---|
Vector3 |
ContactPointWS
Contact point in world space.
Declaration
public Vector3 ContactPointWS
Field Value
Type | Description |
---|---|
Vector3 |
GroundObject
The ground object.
Declaration
public IPhysicBody3D GroundObject
Field Value
Type | Description |
---|---|
IPhysicBody3D |
HardPointWS
The suspension origin in world space.
Declaration
public Vector3 HardPointWS
Field Value
Type | Description |
---|---|
Vector3 |
IsInContact
True if the wheel is in contact.
Declaration
public bool IsInContact
Field Value
Type | Description |
---|---|
bool |
SuspensionLength
The length of the suspension.
Declaration
public float SuspensionLength
Field Value
Type | Description |
---|---|
float |
WheelAxleWS
The wheel axle in world space.
Declaration
public Vector3 WheelAxleWS
Field Value
Type | Description |
---|---|
Vector3 |
WheelDirectionWS
The wheel direction in world space.
Declaration
public Vector3 WheelDirectionWS
Field Value
Type | Description |
---|---|
Vector3 |