I need to detect collision between the player (car) and objects with flares. I would have used a capsule collider on the object, but since colliders block flares i need to find a way around.
Actually i just need to know when the object and the player touches. The collider will be set to “Is Trigger” and it will not affect the player.
Have you tried checking “IsTrigger” on the collider and use the OnTrigger function?
You can stop the colliders from blocking flares by moving the flare to the TransparentFx layer.
If that isn’t an option for some reason, one solution would be to compare the distance between two Vector3s. then check if the distance is smaller than the width of the two objects. It might take some finagling.