constraint.RemoveConstraints
Description
Attempts to remove all constraints of a specified type associated with an entity
Arguments
Returns
Example
From stools/axis.lua
function TOOL:Reload( trace )
if (!trace.Entity:IsValid() or trace.Entity:IsPlayer() ) then return false end
local bool = constraint.RemoveConstraints( trace.Entity, "Axis" )
return bool
end