Collider push back game object

Hi everyone,

I am new with Unity and I am currently trying to implement an endless racing game with items to pick.
The normal behaviour is when the car is on one of the 3 tracks :

However if I collide with an item from the side :

my car is being pushed aside :


I am not sure why because I do not have a rgidbody on my items but only on my car.
Do you have any idea about what could cause this issue ?

Thank you anyway for your help :slight_smile:

If your car has a rigidbody and your items have a collider only, they will cause physics behavior. You need to set your items colliders to trigger. And do an OnTriggerEnter for collecting them.


Trigger colliders will not cause physics reactions.

Perfect that solved my problem !
Thanks :slight_smile: