Hello!
I couldnt find a answer to this from my serching, so i hope that it have not been posted before.
My question is if it is possible to make so that a object (in this case the player) ignores collisions with another gameobject (in this case props) props, but the props collides with the player. I want this because the props hinder the players movements, but i still want the props to move around.
Im using the Physics2D.
You want ‘props’ to collider with ‘player’ but not the other way around? If so, that doesn’t make sense. There’s no direction to a collision; a collision involves two colliders.
Maybe you mean the collision response i.e. you don’t want the ‘player’ to have its velocity changed when it collides with ‘props’? If so, can you not make the ‘props’ collider(s) be a trigger.
Update: This worked! thank you!
I had previously used the OnTriggerEnter without success, but i tried the 2D version (That i didn’t know existed) and it worked right away!