SOLID_NONE doesn't trigger ENT.Touch

Hi,

I have a little problem with SOLID_NONE, in fact I have the same problem as this thread: http://forum.facepunch.com/showthread.php?t=872437

I applied the setTrigger method but TOUCH doesn’t trigger…
I’m sure it’s stupid but I don’t have any idea…

This is my code, if someone can help me, it would be nice, thank you ! <3

[LUA]function ENT:Initialize()
self:SetModel(“models/hunter/blocks/cube8x8x4.mdl”)
self:SetTrigger(true)
self:SetSolid(SOLID_NONE)
end

local function SpawnFlag()
flag1 = ents.Create(“flag”)
flag1:SetPos(Vector(-379.207275, -111.624481, 96.031250))
flag1:DropToFloor()
flag1:Spawn()
flag1:Activate()
end
hook.Add(“InitPostEntity”, “SpawnFlags”, SpawnFlag)

function ENT:Touch(entity)
self:Remove()
end[/LUA]

Pretty sure you need to create the physics object - you can’t really collide with void.

Finally for the moment I use

[LUA]function ENT:Initialize()
self:SetModel(“models/hunter/blocks/cube8x8x4.mdl”)
self:SetTrigger(true)
self:SetSolid(SOLID_OBB)
end[/LUA]

But I’m realy not sure it’s the good solution…
Anyway, thank you very much. I’m going to see if there is another solution with SOLID_NONE :wink:

I will mark this thread as solved if nobody has something to add !

EDIT:
In fact that was totally stupid, just an illusion, because when my player entered in coliision with my entities, the entities was destroy…
So It is not a solution… I have to find something wich works with the SOLID_NONE…