Coppel.Damien Posted August 29, 2018 Share Posted August 29, 2018 Hello, I think there is a small error in the documentation : One of overloaded methods engine.world.getIntersection is : Object engine.world.getIntersection(vec3 p0, vec3 p1, int mask, int[] exclude, Variable value). The exclude list seems to have been updated to a Node list. Thank you. Link to comment
morbid Posted August 31, 2018 Share Posted August 31, 2018 (edited) UPD Sorry, I hurried a little bit with the answer, we need to re-check this method. I'll post here when we clarify everything. Thank you! Edited August 31, 2018 by morbid How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
thomalex Posted August 31, 2018 Share Posted August 31, 2018 Hello, it's not a mistake as vectors in UnigineScript are capable of containing different types (see more here). So the method correctly processes a vector of nodes to be excluded. As for C++ and C#, the method requires corresponding arguments. If you need some extra samples, just let us know. Thank you! Link to comment
Coppel.Damien Posted September 3, 2018 Author Share Posted September 3, 2018 Ok thank you ! Link to comment
Recommended Posts