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"

Endless Runner - Item not disappearing.


I am currently following Endless Runner tutorial and everything else is working but when putting in for my item to destroy itself once i run over it, it does not seem to be working.

Thank you in advance.

alt text

Product Version: UE 4.18
item.png (168.6 kB)
more ▼

asked Nov 01 '17 at 05:53 AM in Using UE4

avatar image

Osama bin Rekt
1 1 2

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

1 answer: sort voted first

Does the AddFlowers and the other functions happening?

if won't there is three possibilities:

1 - bad casting

2 - no overlap detected

3 - something is crashing before the Destroy Item, might be that play sound without assets crashing(but I believe that it should not crash just because there is no asset selected)

more ▼

answered Nov 01 '17 at 01:13 PM

avatar image

524 1 4 8

avatar image Osama bin Rekt Nov 01 '17 at 02:30 PM


All the assets are showing but it is not making sound or removing the item when i run into it. I am unsure what to check with this. Thanks for the help in advance

avatar image Iotti Nov 01 '17 at 06:43 PM

Do a test, please:

After OnComponentBeginOverlap, pull a pin to a print string, if it happens to print the text on the screen, try to pull a pin on GetClassName from Other Actor and print it

avatar image Osama bin Rekt Nov 02 '17 at 03:20 AM

Hey, its not printing anything on screen or log for either of those.

avatar image Solutions Nov 02 '17 at 07:17 AM

Hey ! Try adding a capsule or a box collision to the actor, use it instead of the static mesh itself for overlap detection. Hope this helps! alt text

untitled.jpg (140.1 kB)
avatar image Iotti Nov 03 '17 at 02:19 PM

In that case it seems it is not colliding at all.

So you need to check two things: 1 - Check if both the character and item has collision filters and they aren't ignoring (https://docs.unrealengine.com/latest/INT/Engine/Physics/Collision/)

2 - as @solutions suggested, try to create the collision objects on both item and runner, and use them to check the collision.

(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