Auto import Kenny.nl 3d models to Godot using gdscript
Kenney.nl 3d kit have too many file and time consuming task to create a scene & collision shapes for each object.So i wrote a gd script will import the files.
1.Copy the obj file to a folder and set the path according in the script.
2.Set the output path so the files can be written to the folder.
3.Create an empty scene and add a 'Spatial' node attach this script.
4.In the 'Inspector' window you need 'trigger_gen' check box click that the script will execute.
more comment in the code itself
Comments
Post a Comment