Answer the question
In order to leave comments, you need to log in
How expensive is it to use RaycastHit?
I use RaycastHit to detect the character by enemies, this operation is done in the update function, how bad is that? Or is it better to use a coroutine and fire a beam at certain intervals?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question