I'm currently looking at Angry Ships and it has almost the exact movements i need. apart from 1 issue,its a top down.
And im making a side scroller.
The smooth look at and mouse pic does almost do what i want it to do.
There is a mouse pic 2D..but not look at 2D.
Any solutions to this?
Id hate to flip my project to top down.
After finally looking into how the code was build up,the example didn't do what i wanted.
Instead i want the object to rotate on its axis,so when i point my mouse up,it will go up,just like a joystick(this is all in a 2D fashion).
I'm not only looking at 1 axis because i want the space ship always point up with its roof.So when facing left or right ,it will stil have the roof on top.
For up and down,it doesn't matter.Up can be bottom or roof,same go's for down.
I also changed the topic name to How to rotate object around axis using the mouse(X&Y)