UniVRM/Assets/VRM10_Samples/ClothSample/ClothWarp/Runtime/SimulationEnv.cs
2024-11-26 15:38:47 +09:00

19 lines
336 B
C#

using UnityEngine;
namespace ClothWarpLib
{
[System.Serializable]
public class SimulationEnv
{
public Transform Center;
[Range(0, 1)]
public float Stiffness = 0.1f;
[Range(0, 1)]
public float DragForce = 0.4f;
public Vector3 External = new Vector3(0, -0.001f, 0);
}
}