Hello !
See the pic. let's say Player and Cube colliding. Once Collided, I will test a condition. If it is true, Cube should be pushed back. If false, Player should be pushed back.
I couldn't get it done. I can bale to test Condition. But, not able to push back.
I got collision info and added force on Normal vector. Not working
Both objects have Ridgidbody and Collider. Bot Mass 30 and Drag 10
Thanks