2808 {
2812 {
2814 }
2816 {
2818 float num = 1f;
2819 float num2 = mountedPlayer.gravity /
Player.defaultGravity;
2821 {
2823 }
2825 {
2827 }
2828 if (!flag)
2829 {
2831 {
2833 }
2835 {
2837 }
2838 else
2839 {
2841 }
2842 }
2844 {
2845 num = 0.5f;
2846 }
2848 if (flag)
2849 {
2851 }
2854 {
2856 }
2861 {
2865 {
2867 }
2869 {
2871 }
2872 }
2874 {
2876 }
2878 {
2880 }
2883 {
2886 {
2888 }
2889 num6 -= _data.acceleration * num;
2890 }
2892 {
2893 num6 += _data.acceleration * num;
2895 }
2897 {
2901 }
2902 else
2903 {
2905 }
2907 {
2909 }
2911 {
2913 }
2914 mountedPlayer.velocity.Y =
num6;
2915 if (
num4 == -0.001f &&
num5 == -0.001f &&
num6 == -0.001f)
2916 {
2917 mountedPlayer.position.Y -= -0.001f;
2918 }
2919 mountedPlayer.fallStart = (int)(
mountedPlayer.position.Y / 16f);
2920 }
2921 else if (!flag)
2922 {
2923 mountedPlayer.velocity.Y += mountedPlayer.gravity *
mountedPlayer.gravDir;
2924 }
2926 {
2927 Vector2 velocity = Vector2.UnitY * mountedPlayer.gravDir * 1f;
2929 {
2930 mountedPlayer.velocity.Y = 0.001f;
2931 }
2932 }
2934 {
2935 mountedPlayer.velocity.Y -= -0.001f;
2936 }
2938 {
2940 if ((
double)
num8 > 0.95)
2941 {
2943 }
2944 if ((
double)
num8 < -0.95)
2945 {
2947 }
2948 float fullRotation = (float)
Math.
PI / 4f *
num8 / 2f;
2951 mountedPlayer.fullRotation = fullRotation;
2952 }
2953 else if (
_type == 8)
2954 {
2956 if ((
double)
num10 > 0.95)
2957 {
2959 }
2960 if ((
double)
num10 < -0.95)
2961 {
2963 }
2967 float outerRingRotation =
obj.outerRingRotation;
2968 outerRingRotation += mountedPlayer.velocity.X / 80f;
2969 if (outerRingRotation > (
float)
Math.
PI)
2970 {
2971 outerRingRotation -= (float)
Math.
PI * 2f;
2972 }
2973 else if (outerRingRotation < -(
float)
Math.
PI)
2974 {
2975 outerRingRotation += (float)
Math.
PI * 2f;
2976 }
2977 obj.outerRingRotation = outerRingRotation;
2978 }
2979 else if (
_type == 23)
2980 {
2990 }
2991 return true;
2992 }
static float Clamp(float value, float min, float max)
static double Abs(double value)
object _mountSpecificData
bool DoesHoverIgnoresFatigue()