mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-31 15:43:44 +00:00
Added KCC
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace KinematicCharacterController
|
||||
{
|
||||
[CreateAssetMenu]
|
||||
public class KCCSettings : ScriptableObject
|
||||
{
|
||||
/// <summary>
|
||||
/// Determines if the system simulates automatically.
|
||||
/// If true, the simulation is done on FixedUpdate
|
||||
/// </summary>
|
||||
[Tooltip("Determines if the system simulates automatically. If true, the simulation is done on FixedUpdate")]
|
||||
public bool AutoSimulation = true;
|
||||
/// <summary>
|
||||
/// Should interpolation of characters and PhysicsMovers be handled
|
||||
/// </summary>
|
||||
[Tooltip("Should interpolation of characters and PhysicsMovers be handled")]
|
||||
public bool Interpolate = true;
|
||||
/// <summary>
|
||||
|
||||
/// Initial capacity of the system's list of Motors (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)
|
||||
/// </summary>
|
||||
[Tooltip("Initial capacity of the system's list of Motors (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)")]
|
||||
public int MotorsListInitialCapacity = 100;
|
||||
/// <summary>
|
||||
/// Initial capacity of the system's list of Movers (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)
|
||||
/// </summary>
|
||||
[Tooltip("Initial capacity of the system's list of Movers (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)")]
|
||||
public int MoversListInitialCapacity = 100;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user