This is the wrong way to think of it. At some point the mass is irrelevant. If an inelastic lead object the size of a car hits you, the energy transfers is the same as if a lead 747 hits you at the same speed.
Both objects have an overwhelming amount of energy and momentum compared to a nearly stationary 100 kg person. They'll transfer enough energy to bring the person up to their speed, likely mangling them in the process.
Trauma depends on how quickly this energy is transferred to the individual.
More to your point, both a car and a truck have more than enough energy to not be meaningfully slowed down by a pedestrian. The difference is strike location, contact area, and crumple zones to slow the transfer.