Ok, this is not as easy as it may seem
I have this code right and it is a simple “OnCollisionStay2D(Collision2D col)”
I find the collider that the object hit’s tag but I was to find the object that collided.
void OnCollisionStay2D(Collision2D col)
{
if (col.transform.tag == "Platform")
{
isTouchPlatformBody = true;
Physics2D.IgnoreCollision(thisCol, col.transform.gameObject.GetComponent<Collider2D>(), true);
Physics2D.IgnoreCollision(thatCol, col.transform.gameObject.GetComponent<Collider2D>(), true);
}
}
Please help me, it may be hard to understand what I am asking for and that may be because I feel like crap (My brain has fried).
Thanks