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.
No message at 10min 20sec of the video
0 answers · asked
I have done the tutorial so far but I don't get a debug message at OnTriggerEnter with Player Tag...
void OnTriggerEnter (Collider col)
Debug.Log("We have detected a player collider");
I am using Unity 5.6.5f1 due to company policies.
UPDATE: Sorry... but never mind... The cube was not set on "Is Trigger" :(
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.