- Home /
Joystick 2D Sprite Rotation and Movement
Much akin to Geometry Wars, I'd like to make a game where you control a ship's position using a thumbstick on a controller (in this case an Xbox 360 controller) as well as its sprites rotation.
For example, holding the left thumbstick FORWARD should move the ship UP and set the rotation of the sprite UP (90 degrees). I'm fairly new to Unity but I figured this would be an interesting challenge since I've been able to do it in other languages without too much trouble (i.e. LibGDX, etc.)
I have it set up now where I can set the rotation, but not move and vice-versa. Is there any way to rotate the image of a Sprite object without altering the directional path of the object?
Your answer
Follow this Question
Related Questions
How Can I Rotate My 2D Top-Down Character Rotation With Mobile Joystick? 0 Answers
Rotate the weapon sprite with a joystick 0 Answers
How should I move a sprite in a direction based on the rotation of a child? 1 Answer
Moving 2D Sprite Player 0 Answers
Having Issues Rotating 2d Sprites to face another 2d Object 3 Answers