Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe add some easier way to detected moving directions in order to add animations for them. #2

Open
ZayNepz opened this issue Feb 13, 2023 · 1 comment

Comments

@ZayNepz
Copy link

ZayNepz commented Feb 13, 2023

Checking currentMoveSpeed does work but not for everything. It does not help detecting when moving backwards. Or moving sideways.

@atil
Copy link
Owner

atil commented Jun 25, 2023

Do you mean the gameObject's resultant moving direction in this frame? If so, there's _velocity that would provide this information.

Or do you need something else?

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

No branches or pull requests

2 participants