I have a script which moves projectiles “manually” (via the transform, not physics), and I need to detect when they hit something with a collider. Is it better to use a raycast periodically (every few frames or so) or OnTriggerEnter (which would mean giving them a kinematic rigidbody) ? By “better”, I mean more accurate and more efficient.
Since you’re trying to detect a collision, using the physics system is best, so OnTriggerEnter.
I second that.
Raycast is more for very precise collisions, like bullets or arrows shots, streaks of lights, that kind of things.
1 Like