This commit is contained in:
Scove
2026-03-26 20:27:19 +07:00
parent a94ab0e3f6
commit f42ef22a13
129 changed files with 5517 additions and 1134 deletions

View File

@@ -0,0 +1,26 @@
using UnityEngine;
namespace OnlyScove.Scripts.GameSetup
{
[CreateAssetMenu(fileName = "CharacterSetupSettings", menuName = "Setup/Character Setup Settings")]
public class CharacterSetupSettings : ScriptableObject
{
[Header("Movement Constraints")]
public float slopeLimit = 45f;
[Range(0.01f, 0.5f)] public float stepHeightRatio = 0.15f; // Step offset as % of height
[Header("Precision & Collision")]
public float skinWidthRatio = 0.1f; // Skin width as % of radius
public float minMoveDistance = 0.001f;
[Header("Dimension Multipliers")]
[Tooltip("Multiplies the detected shoulder width to define Radius.")]
public float radiusMultiplier = 0.8f;
[Tooltip("Multiplies the detected bounding box height.")]
public float heightMultiplier = 1.0f;
[Header("Center Offset")]
[Tooltip("Y-axis offset for the center of the capsule (0.5 means exact middle).")]
public float centerYRatio = 0.5f;
}
}