This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I am working on a 2D platformer, and I have a pretty standard damage/i-frame system. On Component Begin Overlap with something that deals damage, if you aren't invincible, take damage, become invincible, wait a few seconds, become hittable again. My issue comes from that last part, where you become hittable again. If you are touching/inside of something that deals damage (i.e. spikes) when this happens, you don't take damage, which makes sense since the damage code is only run when the player initially overlaps with something that deals damage. So I guess what I'm asking for is some way to make the player "re-check" or "re-trigger" their overlaps when their invincibility expires, though if y'all have any suggestions for better ways to do this I'd love to hear it.
Subreddit
Post Details
- Posted
- 2 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/unrealengin...