Exaction timelinetion
This commit is contained in:
1 parent
921c4125b7
commit
0288afb00a
722 files changed
+144715
-152451
No files matched your search
@@ -0,0 +1,17 @@
|
||||
using KinematicCharacterController;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.OfficeGame.Player
|
||||
{
|
||||
public class EntityKCCAnimatorSync : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Animator animator;
|
||||
[SerializeField] private KinematicCharacterMotor motor;
|
||||
|
||||
private void OnAnimatorMove()
|
||||
{
|
||||
// motor.MoveCharacter(motor.TransientPosition + animator.deltaPosition);
|
||||
// motor.SetRotation(motor.TransientRotation * animator.deltaRotation);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user