0 votes

I have to use matrices to draw something (to emulate the push/pop transform) but I got lost in missing docs.

I see Matrix32 has basis_xform and xform, both returning Matrix32. I tried xform, and it returned nothing with no error, and my code failed after that because the result was nil. How can I combine matrices then?

in Engine by (28,788 points)

1 Answer

0 votes
Best answer

It was obvious:
mat1 * mat2

No idea why xform didn't work :|

by (28,788 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.