Entity problem with ENT:Draw()

I’m trying to change the scale of a ragdoll model but for some reason Draw won’t get called. And I do not know why…

[lua]ENT.Type = “anim”
ENT.Base = “base_anim”
ENT.Ragdoll = nil

function ENT:Setup( owner )

if IsValid(owner.RubberRagdoll) then owner.RubberRagdoll:Remove() end

owner.RubberRagdoll = ents.Create("prop_ragdoll")	
owner.RubberRagdoll:SetModel(owner:GetModel())
owner.RubberRagdoll:SetPos(owner:GetPos())
owner.RubberRagdoll:Spawn()
owner.RubberRagdoll:SetCollisionGroup( GROUP_DEBRIS )
owner.RubberRagdoll:SetOwner(owner)

self.Ragdoll = owner.RubberRagdoll

end

if CLIENT then

function ENT:Draw()
	local matrix = Matrix( )
	matrix:SetTranslation( self.Ragdoll:GetPos() )
	matrix:SetAngle( self.Ragdoll:GetAngles() )
	matrix:Scale( Vector(0.2, 0.2, 0.2) )
	cam.PushModelMatrix( matrix )
		self.Ragdoll:DrawModel()
	cam.PopModelMatrix( )
	print(self.Ragdoll:GetPos())
end

end[/lua]

You sure the file is being downloaded on the client? :slight_smile:

Why would you use a matrix here?

You can just use ENT:SetModelScale(vec)

Also the above statement.