Skip to content

CSG Export & Node Converter Tool Plugin for Godot Engine

License

Notifications You must be signed in to change notification settings

lexum0/CSGExport-Godot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

CSG Export & Node Converter - Godot

Tool Plugin for Godot Engine

Convert or Export CSG Meshes with 1 click

How to use:

  • Combine all your CSGMeshes under a CSGCombiner node then:
  • a) Press (Convert CSG to Mesh) to convert to a MeshInstance node
  • b) Press (Export CSG to OBJ) in the Spatial Container Menu to save as a Wavefront OBJ file

Converting the CSGCombiner node to a MeshInstance will add a Trimesh Static Body if the CSG node has Use Collision enabled. If it has been converted before and a node exists, it will be replaced while conserving the Physics Material Override in the Static Body

Currently (Godot 3.4.3) CSG nodes do not support Physics Materials, this addon helps work with CSG nodes by converting the CSG geometry to a MeshInstance node that may override the physics properties

Original script: https://github.com/mohammedzero43/CSGExport-Godot

Limitations:

  • Only works when you select 1 CSGCombiner node (Cant multiselect)

  • Only material diffuse and emission colors will be exported (Textures and maps wont be exported, but you can add them manually in your 3D editing software)

  • The plugin is still experimental ,so please report for bugs at: [email protected]

CSG Converter

About

CSG Export & Node Converter Tool Plugin for Godot Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 100.0%