Y
Yogen
Guest
Right, so I figured out keyboard controls for movement on an Isometric world. But I would like to add mouse controls as a feature that is easily accessible for the player, so they can decide on preference, without having to select control preference from a menu item.
That said, my thoughts are making an invisible target object that moves in direction of the mouse relative to the player. I would like to restrict directions to just 4 quadrants. I can't remember which part of Soh Cah Toa I need to use for this from Pythagoras.
I also have the idea, I want to restrict free camera movement, to the line of sight of the player. As in in darkness their limited night vision of 60 ft for instance restricts the camera to such a distance. I want the player to be able to right click and free drag the camera away from the player.
I could use some help with this and greatly appreciate any advice. Thank you.
That said, my thoughts are making an invisible target object that moves in direction of the mouse relative to the player. I would like to restrict directions to just 4 quadrants. I can't remember which part of Soh Cah Toa I need to use for this from Pythagoras.
I also have the idea, I want to restrict free camera movement, to the line of sight of the player. As in in darkness their limited night vision of 60 ft for instance restricts the camera to such a distance. I want the player to be able to right click and free drag the camera away from the player.
I could use some help with this and greatly appreciate any advice. Thank you.