Archive 17/01/2023.

Matrix multiplication on AngelScript

ucupumar

I want to get view projection matrix on Angel script with this code:Camera@ camera = cameraNode.GetComponent("Camera"); Matrix4 viewProj = camera.projection * camera.view;but it gives me error due to Matrix4 multiplied by Matrix3x4. The error messege is:"No matching operator that take types 'const Matrix4&' and 'const Matrix3x4&' found"
It doesn’t gives me error if I do exact multiplication on C++ code.
I’m still learning Angelscript, how I’m supposed to do?

cadaver

The multiply in question should work now if you pull the latest master.

ucupumar

Thanks!
I didn’t realize it was a bug. :stuck_out_tongue: