Template scene to load different models as mesh and collisionshape

Godot Version

4.2

Question

Hello All, I am trying to write a template scene where I can load the model at run time and generate the collision shape from the model. The goal is to be able to load a scene with the name of the model and then interact with it as a staticbody3D, without creating scenes for every model. Any direction will be greatly appreciated !

You can certainly do this in gdscript.

See: MeshInstance3D — Godot Engine (stable) documentation in English

See also: