-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use the Procedural Generation example Script? #195
Comments
Did you place a camera in the scene to actually see that terrain? If all you have is the spatial node, then by default Godot will look straight from the origin, and the terrain might have generated above, out of sight. Try adding a camera (which you make current in the inspector), place it about 100 units above 0, increase its far clip to 1000 and make it look down, you should see something appear. |
Thank you very much! This has done the trick and I can see the terrain when I run the Scene. The one step I was hoping for (but may be incorrect in assuming this would work) is that the generated terrain would appear in the Editor itself as a Node so I could save it and edit/ use elsewhere. Many Thanks, |
You could make it tool, but you could also use |
Thanks, I'll give that a go. Apologies, I should have provided more detail at the start! |
I think I got it! I needed to |
Hello,
Thank you for writing this helpful tool. Apologies for what is likely a basic question, but how do I use the Procedural Generation Script?
I have created a Spatial Node Scene and copied the example script into the GDScript attached to the Node. My assumption was that I would run the Scene (using F6) and a terrain node would be created and attached in the tree (due to the add_child call) however this assumption appears to be entirely wrong as nothing happens.
No errors appear in the debugger when I run the Scene and I added some basic print commands to the script to see if it was getting caught anywhere but it runs through the whole function when run.
Again, apologies if I am missing something basic!
Yours,
Elliot
The text was updated successfully, but these errors were encountered: