how to import collision shapes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By i dont like

so i would like to import a mesh as a collision shape, but the load menu says that the only supported file types are .res, .tres, and .shape. none of these are available in blender and i cant seem to find ANYTHING on ANY of them online.

what progam can i use to export in these types?

Unless I misunderstood the question
import object
load the object into the scene and click on the object
look scene up “Transform - View - Mesh”. Click mesh (Create Trimesh Static Body )

ramazan | 2022-09-12 08:53

:bust_in_silhouette: Reply From: woyosensei

If I remember correctly you can add suffix -col (or -coll, don’t remember) to another model in Blender and after exporting it Godot will automatically use that model as collision shape. Just bear in mind that more complex shapes can be performance heavy so use simple shapes with not too many triangles. You can also do that for animated objects but personally I don’t recommend doing that because simple shapes like a classic capsule shape can do the job much better.