part.Touched:connect(
function(part, contactPointVector, contactForceScalar, contactVelocityVector)
–Do stuff here
end
)
Could be added to existing .Touched event if it doesnt break compatibility and if the performance hit is negligible. A new event for advanced contact detection is another option.
I think the parameters are self explanatory.
Uses:
-Impact effects
*Depend on impact force or relative velocity
*Effect often needs to be shown in point of impact
*None of the above can currently be found without massive efforts, with the extra params this would be trivial
*Fall damage, cars getting damaged when they hit stuff, marks being left on surfaces if you hit them too hard, windows breaking etc.
-Stuff that only requires the contact point
*Showing them effects on contact
*Figuring out what face of part was touched
Idk