codecat / godot-tbloader

TrenchBroom Loader for Godot 4. (Alternative to Qodot)
MIT License
232 stars 29 forks source link

Assimp model support in Trenchbroom? #54

Closed elvisish closed 1 year ago

elvisish commented 1 year ago

Trenchbroom seems to support models used for entities, would it be possible to use models in Trenchbroom pulled in from Godot? https://github.com/TrenchBroom/TrenchBroom/pull/4048

I'm not sure how much of this is a TBLoader issue or if it could be documented somehow (if possible)?

elvisish commented 1 year ago

It's simple, just do something like this:

@PointClass model(":models/enemy.glb") base(Angle) size(-8 -8 0, 8 8 36) color(0 255 0) = enemy : "Enemy" []