|
| proto external bool | IsValid () |
| | Returns true if this component was properly initialized.
|
| |
| proto external void | GetWorldTransform (out vector mat[4]) |
| | Returns the world transformation of a vehicle (internal physics space)
|
| |
| proto external vector | GetVelocity () |
| | Returns the linear velocity of a vehicle [m/s].
|
| |
| proto external vector | GetVelocityLocal () |
| | Returns the linear velocity in a vehicle local space [m/s].
|
| |
| proto external vector | GetAngularVelocity () |
| | Returns the angular velocity of a vehicle [rad/s].
|
| |
| proto external vector | GetAngularVelocityLocal () |
| | Returns the angular velocity in a vehicle local space [rad/s].
|
| |
| proto external vector | GetAcceleration () |
| | Returns the linear acceleration of a vehicle [m/s^2].
|
| |
| proto external vector | GetAccelerationLocal () |
| | Returns the linear acceleration in a vehicle local space [m/s^2].
|
| |
| proto external float | GetSpeedKmh () |
| | Returns current vehicle speed [km/h].
|
| |
| proto external vector | GetGForce () |
| | Returns the g-force acting on a vehicle [g(force)].
|
| |
| proto external float | GetGForceMagnitude () |
| | Returns the total amount of g-force acting on a vehicle [g(force)].
|
| |
| proto external bool | HasAnyGroundContact () |
| | Returns true if any wheel/landing gear has contact with ground or other object.
|
| |
| proto external void | SetSurfaceOverride (ResourceName surfaceMat) |
| | Internal use only! Overrides surface material of wheel/track casts.
|
| |
| bool | OnTicksOnRemoteProxy () |
| |
|
| void | OnInit (IEntity owner) |
| | Called during EOnInit.
|
| |
| void | OnDelete (IEntity owner) |
| | Called when Entity is being to be destroyed (deleted) or component to be deleted.
|
| |
◆ GetAcceleration()
| proto external vector VehicleBaseSimulation.GetAcceleration |
( |
| ) |
|
Returns the linear acceleration of a vehicle [m/s^2].
◆ GetAccelerationLocal()
| proto external vector VehicleBaseSimulation.GetAccelerationLocal |
( |
| ) |
|
Returns the linear acceleration in a vehicle local space [m/s^2].
◆ GetAngularVelocity()
| proto external vector VehicleBaseSimulation.GetAngularVelocity |
( |
| ) |
|
Returns the angular velocity of a vehicle [rad/s].
◆ GetAngularVelocityLocal()
| proto external vector VehicleBaseSimulation.GetAngularVelocityLocal |
( |
| ) |
|
Returns the angular velocity in a vehicle local space [rad/s].
◆ GetGForce()
| proto external vector VehicleBaseSimulation.GetGForce |
( |
| ) |
|
Returns the g-force acting on a vehicle [g(force)].
◆ GetGForceMagnitude()
| proto external float VehicleBaseSimulation.GetGForceMagnitude |
( |
| ) |
|
Returns the total amount of g-force acting on a vehicle [g(force)].
◆ GetSpeedKmh()
| proto external float VehicleBaseSimulation.GetSpeedKmh |
( |
| ) |
|
Returns current vehicle speed [km/h].
◆ GetVelocity()
| proto external vector VehicleBaseSimulation.GetVelocity |
( |
| ) |
|
Returns the linear velocity of a vehicle [m/s].
◆ GetVelocityLocal()
| proto external vector VehicleBaseSimulation.GetVelocityLocal |
( |
| ) |
|
Returns the linear velocity in a vehicle local space [m/s].
◆ GetWorldTransform()
| proto external void VehicleBaseSimulation.GetWorldTransform |
( |
out vector | mat[4] | ) |
|
Returns the world transformation of a vehicle (internal physics space)
◆ HasAnyGroundContact()
| proto external bool VehicleBaseSimulation.HasAnyGroundContact |
( |
| ) |
|
Returns true if any wheel/landing gear has contact with ground or other object.
◆ IsValid()
| proto external bool VehicleBaseSimulation.IsValid |
( |
| ) |
|
Returns true if this component was properly initialized.
◆ OnInit()
| void VehicleBaseSimulation.OnInit |
( |
IEntity | owner | ) |
|
|
protected |
Called during EOnInit.
- Parameters
-
| owner | Entity this component is attached to. |
◆ SetSurfaceOverride()
| proto external void VehicleBaseSimulation.SetSurfaceOverride |
( |
ResourceName | surfaceMat | ) |
|
Internal use only! Overrides surface material of wheel/track casts.
The documentation for this interface was generated from the following file:
- Game/generated/Vehicle/VehicleBaseSimulation.c