AABB & ray intersection

Discussion in 'Plugin Development' started by WEEEEEE, Jun 24, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    WEEEEEE

    hello i was searching in nms if theres a faster way how to get targeted entity. until now i had an algorithm which is using block iterator and works with locations. i guess thats not the best way how to solve my problem.

    Did anyone solved something similar, or does nms have a class/method for this kind of "collision"?
     
  2. Offline

    THEREDBARON24

    I spawn an entity at each iteration and check for nearby entities in this fashion. Make sure to remove the entity as well. may I ask what algorithm you are using?
     
  3. Offline

    WEEEEEE

Thread Status:
Not open for further replies.

Share This Page