How to get contact points from a trigger?

I’m in a situation where I need a 2d sensor that will not collide but will also give me contact points for a collision.

Triggers don’t give me contact points and colliders give me contact points but cause a collision.

I’ve tried disabling collisions when using colliders in the hopes of getting a collision enter callback but not having the collision actually occur, but no luck.

So how do I get contact points from a trigger? Or how do I get a collision callback with rigidbodies without causing a collision?

Basically I have a circle that I want to act as radar, but I’d like it to be fairly accurate with contact points too.

hi sir i think a raycast will help you, im also a noob but i think i encountered this and used this raycast example if the player got near about 100pixel to the enemy the enemy got alerted, not sure if this is what your looking for but hopfully this can help:

1 Like

Unfortunately, 2D trigger doesn’t return you this information right now. If you need to know the contact point of the circle, that can be determined fairly easy with some trigonometry.

1 Like

thanks I ended up using raycasts.