constraint.RemoveAll
Description
Attempts to remove all constraints associated with an entity
Arguments
Returns
Example
From stools/remover.lua
-- Reload removes all constraints on the targetted entity
function TOOL:Reload( trace )
if ( !IsValid( trace.Entity ) or trace.Entity:IsPlayer() ) then return false end
return constraint.RemoveAll( trace.Entity )
end