Skip to main content

VehicleWheel

Complete API reference for VehicleWheel, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Physics

Component: yes


public class VehicleWheel extends Component

Constructors

SignatureDescription
VehicleWheel(VehicleWheel)Executes VehicleWheel and returns after the underlying engine call finishes.
VehicleWheel()Executes VehicleWheel and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
componentVehicleWheelRepresents the component value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
blockRotationfloatsetVirtual attribute exposed by setBlockRotation. Access it like a field to read or write the underlying value.
frictionSlipfloatget/setVirtual attribute exposed by getFrictionSlip. Access it like a field to read or write the underlying value.
modelPositionVector3getVirtual attribute exposed by getModelPosition. Access it like a field to read or write the underlying value.
modelRotationQuaterniongetVirtual attribute exposed by getModelRotation. Access it like a field to read or write the underlying value.
posPhysicsFunctionEnabledbooleanget/setVirtual attribute exposed by getPosPhysicsFunctionEnabled. Access it like a field to read or write the underlying value.
radiusfloatget/setVirtual attribute exposed by getRadius. Access it like a field to read or write the underlying value.
rotationfloatget/setVirtual attribute exposed by getRotation. Access it like a field to read or write the underlying value.
skiddingfloatgetVirtual attribute exposed by getSkidding. Access it like a field to read or write the underlying value.
suspensionRestLengthfloatget/setVirtual attribute exposed by getSuspensionRestLength. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
isGrounded()booleanReturns whether grounded is true.
incrementRotation(float)voidPerforms the incrementRotation operation using the provided parameters (r).
setTorque(float)voidSets or updates the torque.
setBrake(float)voidSets or updates the brake.
setSteer(float)voidSets or updates the steer.
componentClassMatch(Component, Component)booleanExecutes componentClassMatch and returns after the underlying engine call finishes.
getEngineComponent()ComponentExecutes getEngineComponent and returns after the underlying engine call finishes.