Click or drag to resize

ScenePhysicsWorldClassCreateConstraintVehicle Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public ScenePhysicsWorldClassVehicleConstraint CreateConstraintVehicle(
	Object owner,
	ScenePhysicsWorldClassBody body,
	int wheelCount,
	ScenePhysicsWorldClassVehicleWheelSettings* wheelsSettings,
	ref Vector3F visualScale,
	float frontWheelAntiRollBarStiffness,
	float rearWheelAntiRollBarStiffness,
	float maxPitchRollAngle,
	float engineMaxTorque,
	float engineMinRPM,
	float engineMaxRPM,
	bool transmissionAuto,
	int transmissionGearRatiosCount,
	double* transmissionGearRatios,
	int transmissionReverseGearRatiosCount,
	double* transmissionReverseGearRatios,
	float transmissionSwitchTime,
	float transmissionClutchReleaseTime,
	float transmissionSwitchLatency,
	float transmissionShiftUpRPM,
	float transmissionShiftDownRPM,
	float transmissionClutchStrength,
	bool frontWheelDrive,
	bool rearWheelDrive,
	float frontWheelDifferentialRatio,
	float frontWheelDifferentialLeftRightSplit,
	float frontWheelDifferentialLimitedSlipRatio,
	float frontWheelDifferentialEngineTorqueRatio,
	float rearWheelDifferentialRatio,
	float rearWheelDifferentialLeftRightSplit,
	float rearWheelDifferentialLimitedSlipRatio,
	float rearWheelDifferentialEngineTorqueRatio,
	RadianF maxSlopeAngle
)

Parameters

owner
Type: SystemObject
body
Type: NeoAxisScenePhysicsWorldClassBody
wheelCount
Type: SystemInt32
wheelsSettings
Type: NeoAxisScenePhysicsWorldClassVehicleWheelSettings*
visualScale
Type: NeoAxisVector3F
frontWheelAntiRollBarStiffness
Type: SystemSingle
rearWheelAntiRollBarStiffness
Type: SystemSingle
maxPitchRollAngle
Type: SystemSingle
engineMaxTorque
Type: SystemSingle
engineMinRPM
Type: SystemSingle
engineMaxRPM
Type: SystemSingle
transmissionAuto
Type: SystemBoolean
transmissionGearRatiosCount
Type: SystemInt32
transmissionGearRatios
Type: SystemDouble*
transmissionReverseGearRatiosCount
Type: SystemInt32
transmissionReverseGearRatios
Type: SystemDouble*
transmissionSwitchTime
Type: SystemSingle
transmissionClutchReleaseTime
Type: SystemSingle
transmissionSwitchLatency
Type: SystemSingle
transmissionShiftUpRPM
Type: SystemSingle
transmissionShiftDownRPM
Type: SystemSingle
transmissionClutchStrength
Type: SystemSingle
frontWheelDrive
Type: SystemBoolean
rearWheelDrive
Type: SystemBoolean
frontWheelDifferentialRatio
Type: SystemSingle
frontWheelDifferentialLeftRightSplit
Type: SystemSingle
frontWheelDifferentialLimitedSlipRatio
Type: SystemSingle
frontWheelDifferentialEngineTorqueRatio
Type: SystemSingle
rearWheelDifferentialRatio
Type: SystemSingle
rearWheelDifferentialLeftRightSplit
Type: SystemSingle
rearWheelDifferentialLimitedSlipRatio
Type: SystemSingle
rearWheelDifferentialEngineTorqueRatio
Type: SystemSingle
maxSlopeAngle
Type: NeoAxisRadianF

Return Value

Type: ScenePhysicsWorldClassVehicleConstraint
See Also