How do I detect collision with world from an ent? ENT.Touch only works with other ents. Help is much appreciated.
You could try using ENT.Touch with **[ENT.PassesTriggerFilters
function ENT:PassesTriggerFilters( ent ) if ent == WorldEntity() then return true end end
Technically http://wiki.garrysmod.com/?title=ENT.PhysicsCollide is the most direct way, but Entoros has a very interesting function there. Thanks for that.
There really ought to be a thread for functions you never knew existed, but that can be really useful.
Morcam you way seems the best for what im doing but i thank you both.