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