I’m new in GLUA coding… And now I’ve stucked on question: how to detect a fire? How to just detect its reaction with, e. g. player, on given position?
What I need is to make all entities ignite when they react with fire. wiki.garrysmod.org, any help?
:words: Some thoughts later…
Now I have question: **how to detect that position vector is inside some entity?
*1. I think that Entity:GetModelBounds() *is not for such purposes, cause I need to find actual model’s collisions.
2. PhysObj:GetAABB() is just box. So if you’ll rotate entity - you’ll get the most unexpected results.
3. Entity:FindInBox() - NO-NO!
4. Radius sux.
:rock: SOLVED! See my last message.