yann.takvorian Posted February 28, 2022 Share Posted February 28, 2022 Hi there, I am looking for a method which would return the first intersection point on a given node along a line or segment expressed using two points (or a point + vector) This exists in OSG and many IG engine. Could be used for ground clamping but also LoS, building an altitude map from code, etc. Could not find anything (except world::intersection() which is not what I ma looking for - too complex) Thanks. Link to comment
devrom Posted February 28, 2022 Share Posted February 28, 2022 Quote Could not find anything (except world::intersection() which is not what I ma looking for - too complex) What do you mean with "too complex". It is exactly what you need. https://developer.unigine.com/en/docs/2.15/code/usage/intersections/index?rlang=cpp#worldintersections_object Link to comment
Recommended Posts