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"

Infinite loop error

I want to create a block where the pawn can walk through, but when jumping on it I want it to walk on it (so that collision will go to BlockAll?). I made a blueprint for it, but when colliding with the block it stops the game and gives an error message.

This is my current blueprint: https://i.imgur.com/Dv9ot6G.png alt text

Error: https://i.imgur.com/i8vDNg4.png alt text

The idea of walking on it is kind of like in Terraria where you can walk on stairs when jumping or just pass through when going left/right, but when pressing downarrow you will fall off.

Product Version: UE 4.18
more ▼

asked Mar 09 '18 at 10:45 AM in Blueprint Scripting

avatar image


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

1 answer: sort voted first

that error means that the same thing was run so many times in a frame. your code is to undefined to ever function well. for instance you are never defining what should cause overlap events with your rendercomponent so anything in your scene could cause overlaps. to fix this drag off of the other actor pin on your overlap events and cast to something like the character class so that only characters will trigger the event. you may also want to add in some flow control so that the events dont get triggered so often. you could use a do once and a delay for instance to only allow the events to fire at an interval of the delay duration.

more ▼

answered Mar 09 '18 at 03:25 PM

avatar image

10.1k 33 10 25

(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