I'm trying to make a frozen entity, but also make it collidable with props, I'm using:
[lua]
function ENT:Initialize( )
self:SetModel("models/props_lab/tpplugholder_single.mdl")
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_NONE)
self:SetSolid(SOLID_VPHYSICS)
end
[/lua]
But I seem to only get it to collide with world and the player.
[code]if SERVER then
self:SetModel("models/props_lab/tpplugholder_single.mdl")
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
self:GetPhysicsObject():EnableMotion( false )
end[/code]
Thanks, spent way too long trying to fix this.
Sorry, you need to Log In to post a reply to this thread.