Hello!
When I spawn entities with models I always wonder what size (mins and maxs) should i set it so no one can be able to pass throught it by usual ways...
There's any way to discover the model size to use with entity_set_size? Or should I just go on tryin' 'til i get a better result
I've tried with absmin and absmax, but it obviously didn't worked, cause absmin and absmax are origin[i] + mins[i] -1 and origin[i] + maxs[i] + 1 or something like that, and when we spawn an entity, maxs and mins are 0.00000 (all of them >.>), so, this is not a way...
The actual solution I got was making a plugin to measure the distance between 2 points horizontally (so i can divide it by 2 to get the mins and maxs 0 and 1) and vertically (to get the mins and max 2)...
Althought this does OK, i actually feel that this is not the correct way, or at least not the simplest way to measure the mins and maxs needed...
Does anyone knows a simplier way to do that?