java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleClutchSlipState
The clutch is modelled as two spinning plates with one connected to the wheels through the gearing and the other connected to the engine. The clutch slip is angular speed difference of the two plates.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxVehicleClutchSlipStatearrayGet(long baseAddress, int index) voiddestroy()floatThe slip at the clutch.voidsetClutchSlip(float value) The slip at the clutch.voidstatic PxVehicleClutchSlipStatewrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxVehicleClutchSlipState
protected PxVehicleClutchSlipState(long address) -
PxVehicleClutchSlipState
public PxVehicleClutchSlipState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getClutchSlip
public float getClutchSlip()The slip at the clutch.Unit: radians / time
-
setClutchSlip
public void setClutchSlip(float value) The slip at the clutch.Unit: radians / time
-
setToDefault
public void setToDefault()
-