I have two objects, the player and a testcube, collide with each other. I want the player to be pushed farther away if I increase the mass of the cube.
I thought that increased mass meant increased collision force on the collided object. Is this wrong?
Scenario: One unmoving player object and a standard cube. Both have attached a rigidbody and a cylindrical collider. Both are unaffected by gravity and are not kinematic. I have a script that sets the cube sliding towards the player with an initial velocity. The cube is destroyed on contact with the player, as for the purposes of the game most of the objects colliding with the player destroy themselves after contact. At collision, the player is pushed some distance away from the point of impact. The magnitude of this distance, however, is only affected by the speed of the cube at collision, not by its mass. Except for just a tiiiiiny, tiny increase in distance when I increase the cube's mass from 1 to 100. After that, further increase in mass yields no effect.
Is there something about the physics model I'm not getting? Is my understanding of physics at fault? Have I made an error somewhere that messes with the physics?
Thanks in advance
↧