coastline 0.0.4
Loading...
Searching...
No Matches
KeyframeState Struct Reference

Vehicle pose and interpolated controls before compact frame encoding. More...

#include <ghost.h>

Collaboration diagram for KeyframeState:

Public Attributes

Quaternion orientation
Vec3f position
Vec3f linearVelocity
Vec3f angularVelocity
float fBodyRollAngle
float fSteerAngle
float afWheelAngle [4]
float afWheelContact [4]
float afWheelSurface [4]
float fGearControl
float fBraking
float fReverse
float fProgress
float fEngineRpm
float afLight [2]
float afEffectFlags [6]

Detailed Description

Vehicle pose and interpolated controls before compact frame encoding.

Member Data Documentation

◆ orientation

Quaternion KeyframeState::orientation

The car body's orientation.

◆ position

Vec3f KeyframeState::position

The car body's position.

◆ linearVelocity

Vec3f KeyframeState::linearVelocity

The car body's linear velocity.

◆ angularVelocity

Vec3f KeyframeState::angularVelocity

The car body's angular velocity.

◆ fBodyRollAngle

float KeyframeState::fBodyRollAngle

The car body's roll angle.

◆ fSteerAngle

float KeyframeState::fSteerAngle

The steering angle.

◆ afWheelAngle

float KeyframeState::afWheelAngle[4]

The rotation angle of each wheel.

◆ afWheelContact

float KeyframeState::afWheelContact[4]

The contact value of each wheel.

◆ afWheelSurface

float KeyframeState::afWheelSurface[4]

The surface value under each wheel.

◆ fGearControl

float KeyframeState::fGearControl

The gear-control input.

◆ fBraking

float KeyframeState::fBraking

The brake input.

◆ fReverse

float KeyframeState::fReverse

The reverse-gear input.

◆ fProgress

float KeyframeState::fProgress

The progress along the track.

◆ fEngineRpm

float KeyframeState::fEngineRpm

The engine speed in revolutions per minute.

◆ afLight

float KeyframeState::afLight[2]

The car's two light values.

◆ afEffectFlags

float KeyframeState::afEffectFlags[6]

The recorded visual-effect flags.


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