Performance: line tracing vs collision component

Unless you have a hundred players, it won’t really matter.

What you should probably consider instead is, which one will work better? For example, OnOverlapBegin triggers even if there is a wall between your player and the object, and even if you’re near, but you’re looking behind or at the sky, while tracing has no such issues.

Or do you have a specific case, in which these issues do no affect you?

1 Like