So I’m having a problem.
When you attack my player spawns an invisible mesh that scales via the timeline script I posted below. The problem is it goes through walls to hit enemies on the other side so I need it to stop scaling when it hits certain objects.
I’m looking for a solution to stop it from doing that but I’m not sure how to interrupt the timeline. I know I could create an array with all the objects that are world static and do it off of is colliding but I feel like that’s way too much for a simple solution.I also don’t want to make all the walls physics collision based because that opens up another bucket of worms.
I also attached the walls collision settings as well.
I’m honestly at a loss on where to start, can somebody point me in the right direction? Thanks!