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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Animation Loop Glitches with AnimStarterPack?

Hi. I followed the AnimStarterPack tutorial. I am having a problem with some of the prone animations looping if I spam press Z (prone button) or space (jump button), or a combination of both.


This is the link : https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/index.html

Prone Function https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/AnimBlueprint_Prone/index.html

Jump Function https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/AnimBlueprint_Jump/index.html

Character Blueprint https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/Setup_2/index.html


Here is a link to a video I posted of the glitches : https://vimeo.com/206172133

Prone Glitch : At 9 seconds, you can see that I am just spamming the prone button, and it happens once. At 28-32 seconds, I got the glitch to happen and did not press the prone button again, so the animation kept looping.

Jump/Prone Glitch : At 36-45 seconds, I started just spamming the prone and jump button, this glitch where I jump while lying down happened multiple times. Also, the prone glitch shows up towards the end.


My scripts and properties are set exactly to this tutorial.

I have already tried to implement a timer so you cannot jump or prone extremely fast, but it caused the animations to loop, so I reverted back to the tutorial.

Any help on this would be GREATLY appreciated. Thank you so much!

Product Version: UE 4.15
Tags:
more ▼

asked Mar 01 '17 at 02:40 AM in Blueprint Scripting

avatar image

valeseus
1 1 2

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

1 answer: sort voted first

Check your animation node to see if the stand to prone animation is set to looping in your animBP...it should not be.

more ▼

answered Mar 01 '17 at 09:01 PM

avatar image

Black Phoenyx
4.1k 165 9 170

avatar image valeseus Mar 02 '17 at 01:17 AM

Hey Black Phoenyx, thank you so much for the reply! That actually fixed the prone glitch. I really appreciate it. The only problem I am having now is when I spam Z and SPACE at the same time, he sometimes jumps (not the animation, but just pops up in the air) when he gets into prone position, and sometimes he breaks free from the disable movement and is allowed to move around in prone. I know I am asking about a lot of stuff, so if you can help that would be great, but if not that is totally fine too.

Thanks again for your help! :D

EDIT : The text I put in italics is actually false, I just tested it and it seems the only bug is that he can pop up in the air while he is prone sometimes if I spam Z and space.

EDIT 2 : Just realized that if I press Z twice, I am able to slide around on the ground while in prone; if I press it once more, it disables my movement but keeps me on the ground.

avatar image Black Phoenyx Mar 02 '17 at 07:44 AM

When you are in the prone position setup a disabling branch and Boolean check so that the character cannot jump, so create a variable "CanJump?" that is a Boolean and set it to true only when not in prone and when prone set to false....when you restore the canjump add a delay that will allow for the character to fully standup before setting it back to true. This will prevent the ability to jump while in prone. Also don't forget to mark this as resolved/answered.

(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