In this lesson we'll use colliders for detecting impacts along with creating trigger zones. We'll utilize built in methods for these and add additional features when a collision or trigger is detected.
OnCollisionStay() vs. OnTriggerStay()
2 answers · asked
So I noticed that OnCollisionStay() only gets called a fixed number of times and then stops getting called once the sphere stops moving (I assume when physics calculations stop), whereas OnTriggerStay() will keep updating even after the sphere stops moving.
Is this just to optimize physics calculations of the former?
are you using an extension for the event completion?
1 answer · asked
When i type OnTrigger or OnCollision i don't get completions like you do.
It seems i get completions only for objects or functions declared in the same file/project.