How to unfreeze a prop

So i’m currently making it so a melee weapon on my server will unweld AND unfreeze props, then throw them. However, for some reason i haven’t found a way to unfreeze a prop.



function SWEP:ThrowProp(ent, dmginfo)
	if dmginfo:IsDamageType(DMG_CRUSH) then
		constraint.RemoveAll(ent)
		ent:GetPhysicsObject():ApplyForceOffset(dmginfo:GetDamageForce() * 5000, dmginfo:GetDamagePosition())
	end
end


Right now it will remove constraints, but not unfreeze them. I’m probably just missing something simple here but i wasn’t able to find a way.

PhysObj:EnableMotion

yea tried using this before, just found out i was using it the wrong way.