PrisonLove
Hard Realist
- Reaction score
- 78
So, is it possible to make unit always face toward the player's mouse? I want to implement a system where when a player clicks and hold the right mouse button, his hero unit will run toward the mouse, even if the mouse is moving on screen. Left click would cause and attack.
So can I always track the position of the mouse in relation to the player's unit to cause this effect? The movement system would be something like the game Nox (blast to 90s woot!) if anyone knows what I'm talking about.
So can I always track the position of the mouse in relation to the player's unit to cause this effect? The movement system would be something like the game Nox (blast to 90s woot!) if anyone knows what I'm talking about.