Q:

void ontriggerenter not working

2D for 2D (OnTriggerEnter2D) and 3D for 3D (OnTriggerEnter)
at least one object needs to have rigibody, and collider set to isTrigger

yea and this is for unity game engine only
1

New to Communities?

Join the community