Closed marcospb19 closed 11 months ago
Hey, sorry, that's part of some experimental code. Forgot about that. You can just comment it out -- that function isn't called, yet. I'm requesting a PR to add that functionality: https://github.com/godotengine/godot/pull/78871
Also realized there's a bug where the X and Z axis are negated. I'll try to fix that tomorrow.
Thanks for clarifying, I guess we can keep the issue open while that code is broken.
Some context: I was trying to implement CS Bhop/Surf physics in Godot, and make a tiny game out of it, I tried using this importer to load surf_utopia_v3
, but it didn't work.
So are BSP formats different for each engine? Would I need to develop my own BSP-to-CSG converter in order to do something like this?
Yeah, bsp files all have different versions for different games. Currently only the Quake1 BSP format is supported, though I've started supporting others but nothing else is done, yet. Also, just updated this with some fixes and disabled the convex hull by default so it shouldn't have an error.
Tried using it and:
The full message
``` res://addons/bsp_importer/bsp_importer_plugin.gd:595 - Parse Error: Static function "compute_convex_mesh_points()" not found in base "Geometry3D". res://addons/bsp_importer/bsp_importer_plugin.gd:595 - Parse Error: Cannot infer the type of "convex_points" variable because the value doesn't have a set type. res://addons/bsp_importer/bsp_editor_plugin.gd:9 - Invalid call. Nonexistent function 'new' in base 'GDScript'. ```What's the supported version? If possible, can you put that on the README?
Thanks for the tool!