java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireGripState
The load and friction experienced by a tire.
-
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 PxVehicleTireGripStatearrayGet(long baseAddress, int index) voiddestroy()floatThe tire friction is the product of the road geometry friction and a friction response multiplier.floatgetLoad()The tire loadvoidsetFriction(float value) The tire friction is the product of the road geometry friction and a friction response multiplier.voidsetLoad(float value) The tire loadvoidstatic PxVehicleTireGripStatewrapPointer(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
-
PxVehicleTireGripState
protected PxVehicleTireGripState() -
PxVehicleTireGripState
protected PxVehicleTireGripState(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getLoad
public float getLoad()The tire loadUnit: force = mass * length / (time^2)
-
setLoad
public void setLoad(float value) The tire loadUnit: force = mass * length / (time^2)
-
getFriction
public float getFriction()The tire friction is the product of the road geometry friction and a friction response multiplier. -
setFriction
public void setFriction(float value) The tire friction is the product of the road geometry friction and a friction response multiplier. -
setToDefault
public void setToDefault()
-