RaycastVehicle constructor

RaycastVehicle({
  1. required Body chassisBody,
  2. AxisIndex indexRightAxis = AxisIndex.z,
  3. AxisIndex indexForwardAxis = AxisIndex.x,
  4. AxisIndex indexUpAxis = AxisIndex.y,
})

Implementation

RaycastVehicle ({
   required this.chassisBody,
   this.indexRightAxis = AxisIndex.z,
   this.indexForwardAxis = AxisIndex.x,
   this.indexUpAxis = AxisIndex.y,
 });