/** * Copyright(c) Live2D Inc. All rights reserved. * * Use of this source code is governed by the Live2D Open Software license * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html. */ using UnityEngine; namespace Live2D.Cubism.Framework.Physics { /// /// Global variables of physics. /// public static class CubismPhysics { /// /// Default gravity. /// public static Vector2 Gravity = Vector2.down; /// /// Default direction of wind. /// public static Vector2 Wind = Vector2.zero; /// /// Air resistance. /// public static float AirResistance = 5.0f; /// /// Physical maximum weight. /// public static float MaximumWeight = 100.0f; /// /// Use fixed delta time. /// public static bool UseFixedDeltaTime = false; /// /// Use angle correction. /// public static bool UseAngleCorrection = true; /// /// Threshold of moving. /// public const float MovementThreshold = 0.001f; } }