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"

Problem with Sprint

I have an updated sprinting system. At first glance it seemed to be working, until I pressed the sprint key whilst standing still and my stamina still depleted. To try to fix this, I added a new Boolean that checks if the player is moving and added this as a condition to start my sprint, which fires off everything else. The problem is that this "fix" didn't do anything to solve my bug, I can't figure out what it is. This system is very important for one of my main unique mechanics.

alt text

alt text

alt text

This is coming off from the False branch alt text

Product Version: UE 4.19
sprint-1.png (137.5 kB)
sprint-2.png (150.3 kB)
sprint-3.png (98.3 kB)
sprint-3.png (98.3 kB)
sprint-4.png (78.2 kB)
more ▼

asked Apr 30 '18 at 09:05 PM in Blueprint Scripting

avatar image

7 3 5 11

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

1 answer: sort voted first

That forward vector is most likely normalized (length always 1) it doesn't represent the characters speed.

more ▼

answered Apr 30 '18 at 09:22 PM

avatar image

61 1 7 2

avatar image ThompsonN13 Apr 30 '18 at 09:47 PM

forward vector doesnt really have anything to do with movement it basically just says which way the character is facing. i would try getting the characters velocity and working off that instead. to get the velocity you will probably need to get the movement component of the character and drag off that.

(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