atil / fpscontroller

A Q3-like first person controller for Unity
MIT License
108 stars 7 forks source link

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

Open ZayNepz opened 1 year ago

ZayNepz commented 1 year ago

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

atil commented 1 year ago

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?