Question by
ori61956 · Aug 01, 2020 at 03:53 PM ·
ontriggerenter2d
onTriggerEnter2D bugged out/not working , same for on collisonEnter2D
https://prnt.sc/tsbqsv - the code https://prnt.sc/tsbr0j - one gameobject is with boxcolider2d and with onTrigger enabled https://prnt.sc/tsbrw8 - the player's info, has a boxcolider2d and rigidbody2d.
I'm coding currently a platformer game and i'm trying to check when the player interacts with a gem on the screen, their box colliders are correctly adjusted, the gem has ontrigger option enabled of course, both gameobjects has boxcolider2ds and the player has rigidbody2d of course, ive been looking for solutions on like 15 posts with same title and didn't find a solution which will help me,
thanks for the help :)
Comment