copy method

WheelInfo copy()

Implementation

WheelInfo copy(){
  return WheelInfo(
    chassisConnectionPointLocal:chassisConnectionPointLocal,
    chassisConnectionPointWorld:chassisConnectionPointWorld,
    directionLocal:directionLocal,
    directionWorld:directionWorld,
    axleLocal:axleLocal,
    axleWorld:axleWorld,
    suspensionRestLength:suspensionRestLength,
    suspensionMaxLength:suspensionMaxLength,
    radius:radius,
    suspensionStiffness:suspensionStiffness,
    dampingCompression:dampingCompression,
    dampingRelaxation:dampingRelaxation,
    frictionSlip:frictionSlip,
    forwardAcceleration:forwardAcceleration,
    sideAcceleration:sideAcceleration,
    steering:steering,
    rotation:rotation,
    deltaRotation:deltaRotation,
    rollInfluence:rollInfluence,
    maxSuspensionForce:maxSuspensionForce,
    isFrontWheel:isFrontWheel,
    clippedInvContactDotSuspension:clippedInvContactDotSuspension,
    suspensionRelativeVelocity:suspensionRelativeVelocity,
    suspensionForce:suspensionForce,
    slipInfo:slipInfo,
    skidInfo:skidInfo,
    suspensionLength:suspensionLength,
    maxSuspensionTravel:maxSuspensionTravel,
    useCustomSlidingRotationalSpeed:useCustomSlidingRotationalSpeed,
    customSlidingRotationalSpeed:customSlidingRotationalSpeed
  );
}