Why is my gameobject taking flight instead of passing through object?

I will do my best to explain. I am currently in the Junior Programmer pathway and on the part of the lesson where we add Rigidbody to both game objects.

My truck and box both have Rigidbody on, mass both at 1. When the truck runs into the box it like…takes off on a ramp, flips through the air, and falls off the map. This happens even if I take Rigidbody off the box.

If I make the masses so that the truck is around 1000 and the box is 10, the truck goes through it but the box barley moves.

The box is supposed to like get flipped up and over with those settings, like hitting a box in a game
It’s like the box doesn’t want to move.
Added a screenshot to hopefully clarify on what is happening.176964-rigidbody-issue.png

Can you post the code you are using for the collisions? Also can you post the stats of both colliders (mass, drag, gravity, etc…)


If you’re not using code to handle collisions (just assigning colliders to the objects and letting the physics engine figure out what happens) can you also provide the code where you move the truck (add force, add velocity, etc…)


Also when you say pass through. is the truck supposed to pass through the box? If so then just remove the collider from the box. Or is the truck supposed to push the box out of the way/ send it flying/ etc…?


lastly, do both of these objects have simple box colliders on them or are they more complex like polygon colliders?