Hi, so I’ve been working on this for a few days and can’t figure it out. Here’s what I’m trying to do:
I’m trying to have only my character shatter walls in my game. Right now, not only does the character shatter walls, but other wall pieces also shatter other walls. So far I’ve put a tag on my character labeled “TEST” and when my wall is hit I check to see if the character’s tag is “TEST”, if it is, then apply damage. Well, this still doesn’t matter. Other wall pieces still shatter other walls.
The latest thing I did was to see if the “Other Object” that hit the wall was the same as my Character. This tests TRUE when I print it out, but still, wall pieces shatter other walls. Here’s my Blueprint:
And here’s a SS of in game (I’m using side scroller template):
I also tried putting the wall component into “Ignore Actors” so maybe other wall components wouldn’t cause damage, but alas, this caused NO shattering at all.
So I’m super lost, can anyone help me out? I’m pretty new to Unreal 4, so maybe I’m using damage improperly? Thanks for the help!