/// <summary>
        /// Default character climbing settings.
        /// </summary>

        public static ClimbSettings Default()
        {
            var settings = new ClimbSettings();

            settings.CapsuleHeight     = 1.5f;
            settings.FallTime          = 0.55f;
            settings.VerticalScale     = 0.9f;
            settings.HorizontalScale   = 2;
            settings.ClimbCollisionOff = 0.5f;
            settings.ClimbCollisionOn  = 1.0f;
            settings.VaultCollisionOff = 0.0f;
            settings.VaultCollisionOn  = 0.0f;

            return(settings);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Default character climbing settings.
        /// </summary>
        public static ClimbSettings Default()
        {
            var settings = new ClimbSettings();

            settings.CapsuleHeight   = 1.5f;
            settings.VerticalScale   = 1.0f;
            settings.HorizontalScale = 1.05f;
            settings.Push            = 0.5f;
            settings.PushOn          = 0.6f;
            settings.PushOff         = 0.9f;
            settings.CollisionOff    = 0.3f;
            settings.CollisionOn     = 0.7f;

            return(settings);
        }