Loading...
Searching...
No Matches
VehicleFixedWingSimulation Interface Reference
Inheritance diagram for VehicleFixedWingSimulation:
VehicleBaseSimulation GameComponent

Public Member Functions

proto external GenericEntity GetOwner ()
 Experimental code for testing.
 
proto external void GetCommonState (out notnull CommonStateV1 state)
 
proto external void ApplyForces (vector totalForce, vector totalTorque)
 
proto external float GetElevator ()
 
proto external float GetAilerons ()
 
proto external float GetRudder ()
 
proto external float GetThrottle ()
 
proto external float GetFlaps ()
 
proto external bool EngineIsOn ()
 
- Public Member Functions inherited from VehicleBaseSimulation
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.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

void OnPostInit (IEntity owner)
 
void OnSimulate (float dt)
 
void OnDebugDraw (IEntity owner, bool isPlayerVehicle, bool isEditorMode)
 
- Protected Member Functions inherited from VehicleBaseSimulation
void OnInit (IEntity owner)
 Called during EOnInit.
 
- Protected Member Functions inherited from GameComponent
void OnDelete (IEntity owner)
 Called when Entity is being to be destroyed (deleted) or component to be deleted.
 

Member Function Documentation

◆ ApplyForces()

proto external void VehicleFixedWingSimulation.ApplyForces ( vector totalForce,
vector totalTorque )

◆ EngineIsOn()

proto external bool VehicleFixedWingSimulation.EngineIsOn ( )

◆ GetAilerons()

proto external float VehicleFixedWingSimulation.GetAilerons ( )

◆ GetCommonState()

proto external void VehicleFixedWingSimulation.GetCommonState ( out notnull CommonStateV1 state)

◆ GetElevator()

proto external float VehicleFixedWingSimulation.GetElevator ( )

◆ GetFlaps()

proto external float VehicleFixedWingSimulation.GetFlaps ( )

◆ GetOwner()

proto external GenericEntity VehicleFixedWingSimulation.GetOwner ( )

Experimental code for testing.

◆ GetRudder()

proto external float VehicleFixedWingSimulation.GetRudder ( )

◆ GetThrottle()

proto external float VehicleFixedWingSimulation.GetThrottle ( )

◆ OnDebugDraw()

void VehicleFixedWingSimulation.OnDebugDraw ( IEntity owner,
bool isPlayerVehicle,
bool isEditorMode )
protected

◆ OnPostInit()

void VehicleFixedWingSimulation.OnPostInit ( IEntity owner)
protected

◆ OnSimulate()

void VehicleFixedWingSimulation.OnSimulate ( float dt)
protected

The documentation for this interface was generated from the following file: