0 votes

So, how do you exactly switch from test1.meshlib to test2.meshlib on gridmap?

I tried to follow this, but I'm not sure how to do it. I tried few and I kept getting errors.


Godot version 3.4
in Engine by (82 points)
retagged by

1 Answer

0 votes
Best answer

What error do You get when You do :

 gridmap.mesh_library = preload(pathforyourtest2.meshlibhere)
by (7,925 points)
selected by

This worked perfectly! Thank you so much, you a beautiful soui!

Where can I find more information about this? I don't see it on docs.

Node.property is most basic way to change any property of any node. You only need property name and it is there in your link. Or did You mean preload() method ?

Sorry, I mean the preload() method!

This method is characteristic for Resource class, very important Godot data structure. You should maybe start from here(https://docs.godotengine.org/en/stable/getting_started/step_by_step/resources.html), but it gets too advanced pretty soon.

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.