How do you use mouse for aiming?

Hi guys, I’m a newbie for this game engine. I’d like to know how do you use mouse for aiming? Please answer me. Providing some code will be better by the way.

Here’s an example:

CODE: https://github.com/britzl/publicexamples/tree/master/examples/rotate_and_move
DEMO: http://britzl.github.io/publicexamples/rotate_and_move/index.html

3 Likes

Great, Thank you so much.

1 Like