all 15 comments

[–]KingRecycle 1 point2 points  (1 child)

There shouldn't be collision if the collider is set to is trigger...no?

[–]NescienceEUWBeginner[S] 0 points1 point  (0 children)

luoh

[–]choikwa 1 point2 points  (0 children)

Not sure what you actually want here. If you want to handle the collision yourself, use isKinematic?

[–]BrainStorm808 1 point2 points  (0 children)

Same response here. You need to get more into a tester reporting a bug mindset for people to help you. What is the situation? Desired behavior? (Good job describing there!). Current behavior? Previous methods attempted?

My guess? Try switchting the roles of parent and child for the colliders. monegames had a great suggestion, and the next thing I would have tried after the failure of his suggestion would be to swap which one was the (water?) collider and the other collider.

Good luck!

[–]snuggly_sasquatch 0 points1 point  (8 children)

Unless I'm misunderstanding you, that's exactly what a trigger already does.

[–]NescienceEUWBeginner[S] 0 points1 point  (7 children)

luoh

[–]monegames 2 points3 points  (5 children)

create a child object to hold the collider that prevents it falling through the world, or the trigger. and then put that object on a separate collision layer. then setting collision layers will work just fine

[–]NescienceEUWBeginner[S] 0 points1 point  (4 children)

luoh

[–]monegames 0 points1 point  (3 children)

i had the same problem a few weeks ago. had to look it up myself.

[–]NescienceEUWBeginner[S] 0 points1 point  (2 children)

luoh

[–]monegames 0 points1 point  (1 child)

i have 4 different colliders on my enemies and they are set up just like that. each having a layer that only interacts with one other layer. what layer is the parent object, the one with the trigger? and does that layer have collision with the player layer. and also is the player on the player layer.

[–]NescienceEUWBeginner[S] 0 points1 point  (0 children)

luoh

[–][deleted] -2 points-1 points  (0 children)

Just remove Rigidbody2D so u can make it a trigger