IVehicleHelper

Defines a position on a vehicle

C++
struct IVehicleHelper {
};
File

IVehicleSystem.h

Description

The vehicle helper object is used to define a position on a vehicle. Several components of the vehicle system use this object type to define position on the vehicle (ie: seat position, firing position on vehicle weapons). The Matrices are updated to reflect any changes in the position or orientation parent part.

IVehicleHelper::~IVehicleHelper Destructor
C++
virtual ~IVehicleHelper();
IVehicleHelper::GetLocalSpaceTranslation Method

Returns the helper translation in local space Notes The matrix is relative to the parent part

C++
virtual Vec3 GetLocalSpaceTranslation() const = 0;
IVehicleHelper::GetLocalTM Method

Returns the helper matrix in local space

C++
virtual const Matrix34& GetLocalTM() const = 0;
Returns

The Matrix34 holding the local space matrix Notes The matrix is relative to the parent part

See Also
IVehicleHelper::GetMemoryUsage Method
C++
virtual void GetMemoryUsage(ICrySizer * pSizer) const = 0;
Description

tmp(will be pure virtual soon)

IVehicleHelper::GetParentPart Method

Returns the parent part of the helper

C++
virtual IVehiclePart* GetParentPart() const = 0;
Returns

A pointer to the parent part, which is never null

IVehicleHelper::GetReflectedWorldTM Method

Returns the helper matrix in world space after reflecting the local translation across the yz plane (for left/right side of vehicle)

C++
virtual void GetReflectedWorldTM(Matrix34 & reflectedWorldTM) const = 0;
Returns

The Matrix34 holding the world space matrix

See Also
IVehicleHelper::GetVehicleSpaceTranslation Method

Returns the helper translation in vehicle space

C++
virtual Vec3 GetVehicleSpaceTranslation() const = 0;
IVehicleHelper::GetVehicleTM Method

Returns the helper matrix in vehicle space

C++
virtual void GetVehicleTM(Matrix34 & vehicleTM, bool forced = false) const = 0;
Returns

The Matrix34 holding the vehicle space matrix

See Also
IVehicleHelper::GetWorldSpaceTranslation Method

Returns the helper translation in world space

C++
virtual Vec3 GetWorldSpaceTranslation() const = 0;
IVehicleHelper::GetWorldTM Method

Returns the helper matrix in world space

C++
virtual void GetWorldTM(Matrix34 & worldTM) const = 0;
Returns

The Matrix34 holding the world space matrix

See Also
IVehicleHelper::Release Method

Releases the VehicleHelper instance Notes Should usually be only used by the implementation of IVehicle

C++
virtual void Release() = 0;