public override void Steer(Vector3 wsSteerInput) { Vector3 _wsUpDir = LocomotionUtils.GetUpVector(ref wsSteerInput, (!IsInShallowWater) ? LocomotionUtils.AxisIndex.Y : LocomotionUtils.AxisIndex.Z); applyWorldSpaceSteering(ref wsSteerInput, ref _wsUpDir); }