I want to highlight 3D objects whenever they are under the mouse cursor but I’m guessing for that I need to do a constant raycast every frame.
Up until now I’ve really been doing a raycast on mouse clicks or events so it all seems quite optimal, however, doing it every frame…is that going to be a problem?