basically trying to make a explosive part and if it hits a wall / floor fast enough it explodes
wondering how i could do this
(acidentally deleted this oops)
basically trying to make a explosive part and if it hits a wall / floor fast enough it explodes
wondering how i could do this
(acidentally deleted this oops)
still need help figuring this out
my vehicle crash detection formula:
Part.Touched:Connect(function(hit)
local Diff = (Part.AssemblyLinearVelocity + -hit.AssemblyLinearVelocity).Magnitude
if Diff > 20 then
-- your code here
end
end)