blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
1.09k stars 44 forks source link

Resolution for collision shapes failing on action convert to mesh #202

Closed ToskiDev closed 3 weeks ago

ToskiDev commented 3 weeks ago

Issue: Tried to "convert to godot mesh" on a simple block, the resulting mesh tree collision nodes are all a single vertex.

Solution: the block.block_data value is null, exploring the history of the repository indicates that it's should be potentially using block.mesh_vector_data instead.

This issue did not apply in Godot 4.2 but on upgrading to Godot 4.3 was when this issue became apparent. This change was tested on our local project and allowed us to successfully perform the conversion