Open ZayNepz opened 1 year ago
Checking currentMoveSpeed does work but not for everything. It does not help detecting when moving backwards. Or moving sideways.
Do you mean the gameObject's resultant moving direction in this frame? If so, there's _velocity that would provide this information.
_velocity
Or do you need something else?
Checking currentMoveSpeed does work but not for everything. It does not help detecting when moving backwards. Or moving sideways.