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"

Character skips walk animation, plays running animation at both walking and running speeds.

I have a sprint system in place which is supposed to keep my character moving at 100 speed, and go to 600 when I press shift. However, when I start the game and move forward, she moves at regular speed while playing the running animation. After I press Shift for the first time, she goes to 600; I release shift and she goes to 100 only after pressing and releasing shift for the first time. All this time, only the running animation is playing, it looks as if the walk animation isn't even remotely blended in.

I have a blendspace hooked to the walk/run state. I have tried having separate states for walking and running but the same thing happens.

Product Version: UE 4.21
Tags:
more ▼

asked Apr 10 '19 at 10:38 AM in Blueprint Scripting

avatar image

TheMxscu98
1 1

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

1 answer: sort voted first

Impossible to know without seeing your blendspace and ABP if it's being used.

It's probable that your blendspace has not been adjusted to account for speeds higher than the default (which is 100). it assumes that 100 is max speed, and is therefor blending straight to your sprint anim.

Again, if I could see screenshots of the landing page of the BS I would have a better idea.

https://gyazo.com/5953b6a5b4aa7b847b31605de53a4fa5

make sure the axis value is set correctly, and LMK, you will likely need to replace the Keys after you change it.

more ▼

answered Apr 10 '19 at 02:10 PM

avatar image

Zheak
6 1 3

avatar image TheMxscu98 Apr 10 '19 at 02:23 PM

Hello!

In the meantime, I managed to fix it. The issue lay in the the Event Graph of the Animation Blueprint. When getting the speed, I had set the function to VectorLength Squared instead of just VectorLength Once that was done, the blendspace and the sprint system started working correctly.

Thank you for the advice, however. Your answer helped me fix another problem linked to the default speed.

avatar image Regret_not 2 days ago

I've been fighting with this for two days and couldn't figure it out. I also switched from VectorLengthSquared to VectorLength and it fixed my issue. Thank you TheMxscu98!

(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