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"

First person character won't stop moving

My character won't stop moving no matter what I do and it's literally driving me insane (they move wherever the camera is facing). I found that the root of the problem is the first person controller, and this is what I have for movement: alt text

It's the same one from here: Link

If I replace the "inputaxis" with a simple key press, I stop moving automatically but I won't continuously move if I hold the button down. I deleted the other "keybindings" like controller support just to be sure that that wasn't the issue, but it didn't fix anything.

As a second question, are these the same nodes for movement that the controller uses by default? If not, can someone show me an image of what it looks like? I don't need this exact setup for movement, I just need something because I deleted it thinking I would never need it again. (The player was originally meant to be stationary, but I just decided to revamp and allow movement)

Product Version: UE 4.15
Tags:
more ▼

asked Feb 03 '18 at 02:09 AM in Blueprint Scripting

avatar image

Dinocanid
3 2 2

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

1 answer: sort voted first

Hi there!

From what I can tell, it appears the error is that you haven't connected the "Axis Value" from the MoveForward and MoveRight events into the "Scale Value" input of their respective Add Movement Input functions. In the link you shared, the connections are in place, whereas in the image you have they aren't. Connect them and it should work as intended :)

To answer your second question, it kind of depends on the type of game you're making, but traditionally yes this is how you'd set up movement for a character.

Hope that helps!

more ▼

answered Feb 03 '18 at 02:18 AM

avatar image

TitanicGames
176 1 3 3

avatar image ThompsonN13 Feb 03 '18 at 02:38 AM

i completely agree with titanic. also the setup your using is exactly like the one used in the third person example.

avatar image Dinocanid Feb 03 '18 at 03:25 PM

That was the problem, thank you! That's what I get for working late at night I guess.

(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