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"

Getting individual tile after collision

Hi, I'm starting using UnrealEngine + Paper2D (via blueprints right now, want to use c++ soon). I already have a basic level with a character moving and colliding with other objects, made using the unreal tilemap editor.

But now I want to detect which tile I've collided, so I can destroy it. The character is already colliding with the tile, I just can't figure out how to get the object to proper remove it from the scene.

Thank you all!

Product Version: UE 4.8
more ▼

asked Aug 23 '15 at 08:58 PM in Blueprint Scripting

avatar image

16 3 3

avatar image Mijdax Sep 28 '15 at 07:52 PM

I am also searching for an answer to this problem (Blueprints) Anyone knows how to get the tile onHit?

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

1 answer: sort voted first

Hello xMDKx,

If I'm understanding your question correctly, it seems that you'd like to remove a tile that your player collides with. The way to do this is to use an Event Hit. This event will fire when the player hits another object (in your case the tile) and then you can destroy the actor by dragging out the Other pin of the Event Hit node and adding a Destroy Actor node. This can all be done in the Character Blueprint's Event Graph.

Hope that helps,

Sean Flint

more ▼

answered Sep 28 '15 at 08:06 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

avatar image Mijdax Sep 28 '15 at 08:08 PM

But this will destroy the whole tile map if I am correct. How do I determine the exact tile with which I collided?

avatar image xMDKx Sep 29 '15 at 01:48 PM

I think I already did something like this, but ended deleting the whole map, as @Mijdax mentioned :/

Will try again later with your specific directions.


avatar image M4714S Apr 10 '19 at 03:06 AM

Update on this man

(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