x

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"

Paper 2D player controller for touch to move fails

Little background. I'm building a simple side scrolling type game in which I'd like to use a touch to move feature for the player (IE, player character walks over to the location touched/clicked). I've reviewed the top down sample repeatedly and have duplicated the blueprints, level settings, world settings, and character possession settings precisely and verified that I have a nav mesh in place (actually tried with 3 fresh projects to be sure I hadn't mussed something up along the way). Whenever I try to test with PIE, it typically acts as though the mouse clicks are not being registered by the controller (running with a break on the input event and getting no stop), but occasionally it will activate the break and cycle several times before resuming normal idle state. At no point does the player character actually move, however. I've had this issue with 4.10 as well and several hours looking here and on the forums has yielded no better results.

My latest attempt has involved trying to replicate the click/touch functionality at the character level, but I've not yet discerned how to get that working either.

Product Version: UE 4.11
Tags:
more ▼

asked Apr 01 '16 at 12:09 AM in Blueprint Scripting

avatar image

Raistlin-
105 7 7 15

avatar image Raistlin- Apr 01 '16 at 12:37 AM

Played around a bit more with the original design and have arrived at a point where if I place a break at the final node of the move to function, it hits every time there is input (yay!). My player character still refuses to budge, however (darn!). I've attached all of the information that should be relevant to this issue, but if anyone has an idea and needs to see more, please feel free to ask.alt text alt text alt text alt text

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

1 answer: sort voted first

This is actually an issue related to another question I posted more recently and was resolved.

See this link for more info https://answers.unrealengine.com/questions/400687/2d-touch-to-move-issues.html

more ▼

answered Apr 07 '16 at 11:46 PM

avatar image

Raistlin-
105 7 7 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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