Hi,
I have a kinematic rigidbody (my character) and a wall (kinematic). So, when my character touch the wall I want that my score increase by 1. But it don't work so i have put a debug.log to debug the function but the problem is the OnTrigger2D function. This is my code, the function "ContaPunteggio" work fine so the problem is OnTriggerEnter2D.


I didn't find the right solution from the Internet.


References: https://forum.unity.com/threads/kine...gger2d.496089/



Motion graphics video