A collider without physics?

Hi unity dudes, can any1 help me with this?

I have an object A that collides with object B.

  • Object A is just a static mesh that should not use physics.
  • Object B needs to be controlled by physics.

Now when Object A colliedes with Object B i need to capture the event and script an add rigidbody.AddForce to Object B.

My OnTriggerEnter on Object B is working as expected but there is a wierd problem with the Object B moving in wierd directions sometimes, i debuged it down to the fact that even if i disable the OnTriggerEnter event Object B would still move slightly when it collides with Object A. I figure that the collision mesh on Object A is somehow using physics to move Object B.

The resualt i am after is:

  • When Object A hits Object B i only want the OnTriggerEnter event to fire, but I do not what any physics interaction.

Is this possible?

Thanks
Ruckus

object a won’t use physics to move b thats just normal collision response likely.
if you don’t want it to be a collider you must make it a trigger only

Deramora, thanks for the reply but:

object a won’t use physics to move b thats just normal collision response likely. but it does.
if you don’t want it to be a collider you must make it a trigger only that is what i am doing but it moves it as a physics object anyways.

Trigger colliders don’t collide.

You either have a child collider that isn’t a trigger or you’re applying force to the object somewhere else.

Vicenti, that hit the spot, thanks man, thaught i was going crazy, had a box collider on one of my hidden child objects.