If I import a mesh without collision data (ie. I'm using Blender then exporting to Collada DAE), how do I create a collision mesh for it? Attaching a CollsiionShape doesn't seem to do the trick.
How to Create Collision Shapes for Imported DAE Meshes
The CollisionShape needs to be the child of a ...Body class (RigidBody/StaticBody/KineticBody). Such bodies can also be automatically be generated when importing mesh. See the section about Import Hints in the docs: http://docs.godotengine.org/en/3.0/getting_started/workflow/assets/importing_scenes.html (This is valid for 2.x as well as for 3.0)
Also use the "Better Collada" plugin for export. (Download link should also be mentioned in the docs page linked above)
Interesting. I'm curious though, can you also create a collision mesh for a mesh already imported by clicking on its Mesh icon (in the viewport) then selecting one of the "Create Mesh"-y items there? I've been told that this approach works but I'm not having much luck with it either.
- Edited
For anyone listening in, turns out you just need to (1) instance the mesh to your world, (2) select the mesh in the inspector, (3) go to its mesh menu (available above the camera viewport whenever a mesh is selected) and (4) select Create Trimesh Static Body there. This childs a ray-pickable StaticBody (with child CollisionShape) to the imported mesh so that it can now fully interact with rays.