Download

Overlap detection. Projectile detecting vs pawn.

Question.

Is it better to have the projectile detect if it’s overlapping a player or the player checking if it’s overlapping the projectile?

The projectile is using ccd already because it’s a physics object that can move at high speed but find currently check on player using its on hitbox overlap the object can sometime pass through them.

I’m wondering if this is this would be better if the projectile is asking if it’s overlapping the players hitbox instead.

I use a Bow and arrow system in my game, and i use on actor collision with the actor u want, u cast to it and just that. For multiplayer u have to add some more code, perhaps, depend on how are them programmed.