Interface IVehicle
- Namespace
- VoxelPlayground.Entity
- Assembly
- GamePlay.dll
public interface IVehicle
Properties
centerOfMass
Transform centerOfMass { get; }
Property Value
driverSeat
Seat driverSeat { get; }
Property Value
isExploded
bool isExploded { get; }
Property Value
- bool
transform
Transform transform { get; }
Property Value
Methods
ApplyBrake(float)
void ApplyBrake(float brakeForce)
Parameters
brakeForcefloat
ApplySteering(Vector3)
x: Pitch, y: Yaw, z: Roll
void ApplySteering(Vector3 steering)
Parameters
steeringVector3
ApplyThrottle(float)
void ApplyThrottle(float throttle)
Parameters
throttlefloat
GetConnectedEntity()
List<Entity> GetConnectedEntity()
Returns
- List<Entity>
SetEngineEnable(bool)
void SetEngineEnable(bool enable)
Parameters
enablebool