0 votes

I have a way to generate a level's terrain polygon from a single line, but the process to bake the terrain is time consuming and wouldn't be effective to do in-game at real time. What I want to do is, while in the editor, run the code that creates the terrain polygon, then save that polygon in the packed scene to use when the scene is loaded. That way when loading the level's terrain I don't have to recreate the polygon, but instead load the points in the polygon.

Is there a way to save variables in a scene?

asked Jul 10, 2018 in Engine by Hubber116sx (36 points)

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 How to use this Q&A? before posting your first questions.