turning slowly, waiting for standing animation when standing

This commit is contained in:
Vladimir Koshevarov
2023-02-28 13:21:43 +02:00
parent 81b266c288
commit c62b8ddd32
2 changed files with 50 additions and 22 deletions
@@ -5,8 +5,6 @@ public class Bed : BaseInteractableObject
{
public override void Interact(Player player)
{
Debug.Log("rotate player");
player.Rotate(_playerArrivePoint.transform.forward);
Debug.Log("Sitting");
player.SetPlayerState(ActionStates.Sitting);
}