Firstly I know I am a little late to the party here but I would like to share something quickly. Firstly I think accurately simulating a car crash in Roblox would be a pain, but I would go about it by first getting the mass of the two vehicles with:
02 | if not obj then return 0 end |
03 | if obj:IsA( "BasePart" ) then |
04 | return math.ceil(obj:GetMass()) |
07 | for i, p in pairs (obj:GetChildren()) do |
08 | mass = mass + getMass(p) |
Then I would measure the two speeds of the car then use this to approximate force. How would simulate the results are beyond me and this is a simple solution as a more complex one would involve some very interesting math involving the surface size of the impact and materials involved and a whole host of other equations that I think is simply too in depth to be relevant to current roblox games.