Skip to content

Conversation

peregurin-outscal
Copy link
Collaborator

No description provided.

RotatePlayer(movementDirection);
MovePlayer(movementDirection);
}else{
playerView.PlayMovementAnimation(true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are playing player movement animation if there is no player input?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the common function for idle and movement animation. I pass the boolean for the same to change the state
The one used in the above is for idle animation (passing isIdle = true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants