It is a 3D shooter game, and I want to make a special type of bullet which is bouncing between enemies. I tried several methods but I can’t make this work no matter what.
For hit registration I use method, where I add enemy ID’s into array for projectiles, so one bullet can’t damage one enemy twice.
The problem is that bullets or “magneting” to the only one enemy nor magneting to the only one specific enemy. I tried “bounce” function, but it is worse somehow.