So I decided that collisions cause a lot less lag than other behaviors.
But there’s issues where if two things touch an object at the same time, or around the same time, then it only collides with one of them, causing the other object to just slip by.
Just so I understand - you’re saying that the when a collision happens with the same object multiple times per frame, you want multiple collision outputs?
Basically it’s a projectile, The enemy getting hit, collides with the bullet and sends it a message, which then sends back damage. it works most of the time, but when there are a lot of projectiles, some of them pass through when hitting at about the same time.
The collision only seems to trigger once when in the editor, so It’s not an issue with the messaging.
I’ve decided to switch to ray-cast, which isn’t fixing much.