Why does this code run continuously even though it is not within Update () and is not invoked by Update?
void OnTriggerEnter(Collider other)
{
print("Player triggered something");
}
I thought that code had to be called from within Update or something similar to be continuously run - but every time I run into an object, the above code prints the ‘triggered’ message to the console - so I know it is continuously running. Then what is the point of putting ProcessRotation(); within Update, if it will just run continuously without it?
Thanks!