Attempt to get animation working

This commit is contained in:
2022-08-18 00:25:22 -07:00
parent bc8092d454
commit bc3b1b9df5
5 changed files with 45 additions and 1 deletions

View File

@@ -8,11 +8,13 @@ namespace Scampz.GameJam.Assets.Scripts
private RayCaster _caster;
public float Speed = 10f;
public float RotateSpeed = 720.0f;
private Animator _animator;
private void Start()
{
_controller = GetComponent<CharacterController>();
_caster = _controller.GetComponent<RayCaster>();
_animator = GetComponent<Animator>();
}
void Update()