#raytrace

1 messages · Page 1 of 1 (latest)

foggy talon
#
  if raytrace hit entity of {_ray} is set:``` it's possible to get all entities inside {_ray} ?
stray ridge
#

unfortunately I think it will return the first thing it hits

#

or maybe {_ray}'s hit (entity|block) will return the first of each

#

you can use vectors

dawn kettle
#

might be able to restart the raytrace from the hit entity, but you're better off just using vectors

foggy talon
#

how?

dawn kettle
#

how what

misty flume
#

theres a few ways you can get what you want using raytrace, one method is to raytrace, then get the entity you hit, then raytrace again but filter out that entity, rinse and repeat a max of n times and then ull have a list of all the entities that would intersect that ray