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"

My player stops moving when looking down - NEED HELP!

Hi, every time my player looks down while walking he'll stop moving. but if i look forward again he'll start moving again. Same goes for when i look up. I'm using first person blueprint and i'm running 4.3 Please helpp

Product Version: Not Selected
Tags:
more ▼

asked Jul 26 '14 at 02:28 AM in Using UE4

avatar image

gotgrassct
227 48 63 79

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

1 answer: sort voted first

Are you use "Get Forward Vector" to get the player's forward then move?

I think it is because when you look up or down, you rotate the "Whole Player" instead of just camera. So your "Forward Vector" will be up when you are looking up, so player will not move ( player can't move up if there is a gravity).

Could you provide your blueprint which control the player movement ?

more ▼

answered Jul 26 '14 at 03:27 AM

avatar image

Smomo
179 13 17 33

avatar image gotgrassct Jul 28 '14 at 03:11 AM

alt text

Here you go.

movement.jpg (235.6 kB)
avatar image Smomo Jul 28 '14 at 03:16 AM

Like I said, you turn your whole player. Only Yaw should be rotatedalt text

3.png (99.0 kB)
avatar image gotgrassct Jul 28 '14 at 03:25 AM

How do i get the "Get Control Rotation" function with the return value pitch, yaw, and roll values? all i have is the regular return value one

avatar image Smomo Jul 28 '14 at 03:28 AM

This function called "Spilt", only available in 4.3. ( just right click on "Return Value") If you use less than 4.3, use "Break Rot" then "Make Rot"

avatar image gotgrassct Jul 28 '14 at 03:36 AM

Thank you so much, it worked. Also do u know how to create zombie ai?

avatar image Smomo Jul 28 '14 at 04:04 AM

Sorry about my less knowledge, I haven't tried any AI yet, it is some kind of challenge

avatar image gotgrassct Jul 28 '14 at 04:08 AM

Okay, well thanks anyways. u helped alot.

avatar image Ben Halliday STAFF Jul 28 '14 at 06:39 PM

Hey gotgrassct,

It's probably best if you open a new question for your zombie AI, as it is an entirely separate issue. Thanks!

(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