Is it possible to get a script function to return if an entity is within a cylinder?
Similar to $within_cone, I'd like it to have the params, <test_origin>,<cylinder_origin>,<cylinder_angles>,<cylinder_length>,<cylinder_radius>.
Would this be possible? Or is there a way to hack it with the current functions
An example would be:
$within_cylinder($vec(0,0,0),$vec(-50,0,0),$vec(0,0,0),100,10)
It, of course, doesn't have to have those params in that order, but just to get the point across
Similar to $within_cone, I'd like it to have the params, <test_origin>,<cylinder_origin>,<cylinder_angles>,<cylinder_length>,<cylinder_radius>.
Would this be possible? Or is there a way to hack it with the current functions
An example would be:
$within_cylinder($vec(0,0,0),$vec(-50,0,0),$vec(0,0,0),100,10)
It, of course, doesn't have to have those params in that order, but just to get the point across