Table of Contents

Class EntityWheel

Namespace
VoxelPlayground.Entity
Assembly
GamePlay.dll
public class EntityWheel : EntityAttachmentItem
Inheritance
object
EntityWheel
Inherited Members
Extension Methods

Fields

autoDeactivateOnLostConnection

public bool autoDeactivateOnLostConnection

Field Value

bool

maxAngularVelocity

public float maxAngularVelocity

Field Value

float

torqueAmount

public float torqueAmount

Field Value

float

wheelSuspensionJoint

public ConfigurableJoint wheelSuspensionJoint

Field Value

ConfigurableJoint

Properties

SteeringLimit

public float SteeringLimit { get; set; }

Property Value

float

SuspensionHeight

public float SuspensionHeight { get; set; }

Property Value

float

Methods

_SetSuspensionHeight(float)

public void _SetSuspensionHeight(float v)

Parameters

v float

ApplyAcceleration(float)

public void ApplyAcceleration(float acc)

Parameters

acc float

ApplyTorque(float)

public void ApplyTorque(float torque)

Parameters

torque float

BreakConnection()

protected override void BreakConnection()

FixedUpdate()

public void FixedUpdate()

InitSteeringWheel(EntityCar)

public void InitSteeringWheel(EntityCar car)

Parameters

car EntityCar

RemoveConnection(EntityAttachmentItem)

public override void RemoveConnection(EntityAttachmentItem otherItem)

Parameters

otherItem EntityAttachmentItem

SetMaxAngularV(float)

public void SetMaxAngularV(float maxAngularV)

Parameters

maxAngularV float

SetSteering(float, float, float)

public void SetSteering(float steering, float steeringStrength, float steeringDamping)

Parameters

steering float
steeringStrength float
steeringDamping float

SetTorque(float)

public void SetTorque(float torque)

Parameters

torque float

Start()

protected override void Start()