using UnityEngine; namespace NeonTea.Quakeball.Player { /// Different modes of transportation. [CreateAssetMenu(fileName = "Moving", menuName = "Quakeball/MoveStyle")] public class MoveStyle : ScriptableObject { /// The target velocity to accelerate towards. public float TargetVelocity; /// When decelerating, the speed at which the deceleration no longer decelerates. public float StopVelocity; /// The acceleration coefficient. Higher values mean faster acceleration. public float Acceleration; /// The acceleration coefficient in air. Higher values mean faster acceleration. public float AirAcceleration; /// The friction coefficient. Higher values mean faster slowdown, should be less than or equal to Acceleration. public float Friction; /// The friction coefficient in air. Higher values mean faster slowdown, should be less than or equal to Acceleration. public float AirFriction; /// The velocity that the player jumps in this style. public float JumpVelocity; /// Degrees that the player leans when moving sideways in this style. public float LeanDegrees; } }