Hi there,
I’m using OnTriggerEnter function to detect collision enter between my player and other oject on the map.
OnTriggerEnter works as soon as some edge of my player touches the edge of object’s collision, but i need it to trigger only if the player is in the center of the object.
I tried making the collision box it self very tiny like a stick, but it didn’t fix the problem.
Here is picture of what i mean:
I need the player(blue ball) to trigger only once the center of my player touches the red X which is the center of the collision box.
Is there any way to do so? ;D
Thanks.