I want to deal damage along an arbitrary shape which should work like a damage volume in a way.
More specifically:
a) Let’s say I want to hit a destructible wall and make a star pattern hole in it. I’d imagine I’d use a star shaped mesh that deals damage to anything it intersects?
b) Imagine I have a powerful beam that doesn’t deal damage only to the first thing hit (as would happen with a line trace and radial damage for example or a projectile) but i want it to deal damage to everything in an imaginary cylinder around a straight line ahead of me (So all buildings for example would have a hole in a straight line one punch man style). Again I would imagine I use a cylinder and apply damage to anything in it?
Is this possible or do I need to do this another way? Would I need to trace everything manually and apply some kind of damage to every point separately? I dont mind if it’s in c++ or blueprint I just want to know whether I can use a custom shape to define where damage is dealt.