I’m using the TopDown Template. By default, LMB click moves the character to a location user clicks on.
I’m trying to use the same logic but with jump (RMB).
So far I’ve made my character jump upon RMB click and it works fine when the character is moving, because it has the momentum and jump moves the character forward to a clicked location.
However, I would like my character to jump / leap to a clicked location, even if it is standing still (instead of just jumping in place).
The best example of what I’m trying to accomplish would be barbarian leap from Diablo 2 / 3.