Contact points but not physics

Hi all,

I have an object that on collision I need the contact points so therefore oncollisionenter
The thing is I don’t want it to have any physics.
Setting it’s rigid body to kinematic still causes some issues because other non-kinematic bodies react to it.
Having it as a trigger doesn’t get the contact points (I don’t need these to be super accurate just approx for point of intersection).
So in reality I want contact points on a trigger body - this of course I can’t have :-((((((
Putting things in different layers will also become a headache.

Any suggestions welcome

Cheers

Check “Is Trigger” in Inspector for the collider, then handle OnTriggerEnter instead of OnCollisionEnter. For the collision point I think you could use the collided position, since this event is sent only when it first enters

Sorry, you have lost me.
OnTriggerEnter doesn’t provide any ‘where collided’ information.
I need the point at which the 2 colliders intersected.

Can you please explain what you mean please?

Cheers

There are no contacts without OnCollision, simple as that really.

–Eric

Headaches or not, different layers and/or Physics.IgnoreCollision() are pretty much your only options.