Lets say i need to use colliders as shield, but this shield can be turned on and off. If a projectile touches the edge of the shield, its assume its hitting the shield, but if the shield is off, and a projectile fly into the shield, before hitting any target, the shield turn back on, it should not hit the shield, it will continue to fly and hit the target.
But at the moment, colliders will be triggered even the projectile went into the shield. Can i enforce the collider to work at the edge of the shape only ?
Please be noted that i use more than just circle or sphere. so calculating the distance from center of the collider might not work.