myavatargotsnowedon Posted September 15, 2020 Share Posted September 15, 2020 The MathLib examples I could find were in the GetDirection method and it's written 'MathLib.AXIS_Y' when it should be 'MathLib.AXIS.Y'. There's also the Math Common Functions page that only has a few MathLib examples, plus the Normalize method is missing. Link to comment
fox Posted September 16, 2020 Share Posted September 16, 2020 Hi myavatargotsnowedon, There is no single doc page for MathLib, instead, there are several for different functions (like Common, 2D, Matrix, etc). Seems like an outdated info on axes in the code-snippet for the GetDirection method, surely must be 'MathLib.AXIS.Y'. This will be fixed ASAP, we'll also add missing methods and more MathLib examples in the future. Sorry for the inconvenience caused, and thanks for pointing out! Link to comment
Black_Cat Posted April 7, 2022 Share Posted April 7, 2022 So... What is MathLib.SetTo? Link to comment
silent Posted April 8, 2022 Share Posted April 8, 2022 11 hours ago, Black_Cat said: So... What is MathLib.SetTo? SetTo returns the transformation matrix, which puts an object to the specified position and sets it orientation to the specified target point. 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
Recommended Posts