java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleCommandResponseParams
- Direct Known Subclasses:
PxVehicleBrakeCommandResponseParams,PxVehicleDirectDriveThrottleCommandResponseParams,PxVehicleSteerCommandResponseParams
A description of the per wheel response to an input command.
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatThe maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response.A nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed.floatgetWheelResponseMultipliers(int index) voidsetMaxResponse(float value) The maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response.voidA nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed.voidsetWheelResponseMultipliers(int index, float value) wrapPointer(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
-
PxVehicleCommandResponseParams
protected PxVehicleCommandResponseParams(long address) -
PxVehicleCommandResponseParams
public PxVehicleCommandResponseParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getNonlinearResponse
A nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed. Note: The effect of the default state of nonlinearResponse is a linear response to command value that is independent of longitudinal speed. -
setNonlinearResponse
A nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed. Note: The effect of the default state of nonlinearResponse is a linear response to command value that is independent of longitudinal speed. -
getWheelResponseMultipliers
public float getWheelResponseMultipliers(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setWheelResponseMultipliers
public void setWheelResponseMultipliers(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getMaxResponse
public float getMaxResponse()The maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response. -
setMaxResponse
public void setMaxResponse(float value) The maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response.
-