I am using ColAndreas for raycasting.
I have 2 points, for instance (0, 0, 0) and (100, 100, 20)
It will cast a really long ray but i want to cast a small ray from one?point?in the 'direction' of the other but a smaller ray (like 4.0 to?5.0 meters or whatever measurement unit is used in this game).
It can be done by finding the coords between these two points. Any math genius here ?
I have 2 points, for instance (0, 0, 0) and (100, 100, 20)
It will cast a really long ray but i want to cast a small ray from one?point?in the 'direction' of the other but a smaller ray (like 4.0 to?5.0 meters or whatever measurement unit is used in this game).
It can be done by finding the coords between these two points. Any math genius here ?