Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I make a Topdown character move and rotate with a single joystick?

I'm trying to create a top down shooter for mobile with a single joystick for both movement and rotation. I've managed to get the player to move but I'm not sure how to make them rotate when using the same joystick. Can anyone help?

Product Version: Not Selected
more ▼

asked Jan 06 '15 at 03:04 PM in Blueprint Scripting

avatar image

1 1 2 2

avatar image eXi Jan 06 '15 at 04:02 PM

In your Characters Default Tab, try searching for this in the Character Movement Section:


If this doesn't help, i will have a look at it later the day. (:

avatar image AM92 Jan 06 '15 at 04:10 PM

The character rotates but faces the same direction while doing so.

avatar image eXi Jan 06 '15 at 04:13 PM

Ok, so this option does not fix it for you?

Whould you mind telling me some short steps on how to recreate your setup, so i can look what you have done and how to add the rotation to it? Because the First Person Project already got this movement you look for. Can't be that hard to implement this into the Top Down Shooter (:

Blueprint Pictures of what you already setup and tried would be nice too.

avatar image AM92 Jan 06 '15 at 04:35 PM

alt text

alt text

The top image shows the component screen of the player character. The bottom one shows the Blueprint I have so far to make the character move.

In Project settings > Engine Input. I've changed the Default Touch Interface in the mobile tab to LeftVirtualJoystickOnly. The axis mapping is Up/Down - Gamepad Left X = 1. Left/Right - Gamepad Left Y = -1.

avatar image eXi Jan 06 '15 at 08:29 PM

Am i right that this is the Top Down Template?

avatar image eXi Jan 06 '15 at 08:41 PM

Hm, i took the Top Down Template and added these Input (these are for a normal Gamepad, but that isn't important)

Both a positive scale at my end


And inside the controller i disconneted the click movement and added the movement you did:


With this i am able to move my character with the left Stick and he is also turning to the direction he is running to.

Have you changed something else?

Please make sure that you enabled this option in the character movement default settings: (Red square)


avatar image KillerSneak Jul 14 '15 at 03:23 PM

The top down is based on a PAWN in 4.8,1? Not a character? How would I get this to work then? I would like to have the left thumb stick for the movement (trust) and rotation so while moving the left stick it should go the way the stick is pointing at.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question