Entity physics issue.

ok this is the lua code snippet for entity physics i have for a server side spawn.

For some reason the entity has no physics at all, props seem to go right through it. The function of the item is fine though.

This snippet is pulled from the entities init.lua, it is spawned by the server upon boot.

If someone can fix this to make an object solid, thanks

[lua]
function ENT:Initialize()
self.BaseClass.Initialize(self);
self:PhysicsInit(SOLID_VPHYSICS);
self:SetMoveType(MOVETYPE_VPHYSICS);
self:SetSolid(SOLID_VPHYSICS);
local phys = self:GetPhysicsObject()
if (phys:IsValid()) then
phys:SetMass(200)
phys:Wake()
end
self.resources = self.resources or {}
self.icetype = self.minetype or “mine”
end
[/lua]

[editline]09:46PM[/editline]

COLLISION_GROUP_WORLD only collides with world, and MOVETYPE_NONE makes the entity never move.

its not supposed to move lol its a mine