feat: add test shurken

This commit is contained in:
Chris
2026-01-10 21:03:49 -05:00
parent 49862b5de1
commit cfc0096902
40 changed files with 1262 additions and 221 deletions

View File

@@ -1,5 +1,6 @@
using System;
using UnityEngine;
using UnityEngine.Rendering;
namespace Reset.Units{
public class UnitAnimation : UnitComponent{
@@ -30,6 +31,11 @@ namespace Reset.Units{
// }
modelAnimator.SetFloat("Move Direction X", moveSpeed);
modelAnimator.SetFloat("Gravity", Unit.Movement.resolvedMovement.gravity);
modelAnimator.SetBool("Grounded", Physics.Raycast(transform.position, Vector3.down, .2f));
Debug.Log(Unit.Movement.GetGrounded());
}
private void LateUpdate(){