0 votes


I have problem with understanding how transform is working inside of MultiMeshInstance (and propably in every other places).

I need to rotate my meshes inside of MultiMeshInstance by given degrees angle but only option avaible in this node is transform by matrix and I dont konw how to do that or use function like "rotated".

On the picture you can see my object with wrong rotated "planks". How can I rotate them to fit with this "rails"?enter image description here

in Engine by (227 points)

PS. When I'm trying to use

rotated(Vector3(-4, 0, -3), 90)

nothing happens but consol output shows a warning:

core\math\matrix3.cpp:751 - Condition ' paxis.isnormalized() ==
false ' is true.

how about rotated(Vector3(-4, 0, -3).normalized(), 90)

So silmple so awesome!!!
Thank You!!!

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.