public static Vector3 GetShootingRaycastPos(Vector3 _basePos, Quaternion _baseRot, Vector3 _offset) { Vector3 pos = _basePos; Quaternion rot = _baseRot; Vector3 offs = _offset; offs = MathfPlus.RotateVecAroundYAxisByRotation(offs, rot); offs += pos; return(offs); }