Table of Contents

Interface IVehicle

Namespace
VoxelPlayground.Entity
Assembly
GamePlay.dll
public interface IVehicle

Properties

centerOfMass

Transform centerOfMass { get; }

Property Value

Transform

driverSeat

Seat driverSeat { get; }

Property Value

Seat

isExploded

bool isExploded { get; }

Property Value

bool

transform

Transform transform { get; }

Property Value

Transform

Methods

ApplyBrake(float)

void ApplyBrake(float brakeForce)

Parameters

brakeForce float

ApplySteering(Vector3)

x: Pitch, y: Yaw, z: Roll

void ApplySteering(Vector3 steering)

Parameters

steering Vector3

ApplyThrottle(float)

void ApplyThrottle(float throttle)

Parameters

throttle float

GetConnectedEntity()

List<Entity> GetConnectedEntity()

Returns

List<Entity>

SetEngineEnable(bool)

void SetEngineEnable(bool enable)

Parameters

enable bool