e3a06c3a9e
With this PR it's possible to add a collision during the Mesh import, directly in editor. To generate the shape is possible to chose between the following options: - Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library). - Simple Convex: Is generated a convex shape that enclose the entire mesh. - Trimesh: Generate a trimesh shape using the Mesh faces. - Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`. - Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`. - Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`. - Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`. It's also possible to chose the generated body, so you can create: - Rigid Body - Static Body - Area |
||
---|---|---|
.. | ||
atlas_import_failed.xpm | ||
collada.cpp | ||
collada.h | ||
editor_import_collada.cpp | ||
editor_import_collada.h | ||
editor_import_plugin.cpp | ||
editor_import_plugin.h | ||
editor_importer_bake_reset.cpp | ||
editor_importer_bake_reset.h | ||
resource_importer_bitmask.cpp | ||
resource_importer_bitmask.h | ||
resource_importer_csv_translation.cpp | ||
resource_importer_csv_translation.h | ||
resource_importer_image.cpp | ||
resource_importer_image.h | ||
resource_importer_layered_texture.cpp | ||
resource_importer_layered_texture.h | ||
resource_importer_obj.cpp | ||
resource_importer_obj.h | ||
resource_importer_scene.cpp | ||
resource_importer_scene.h | ||
resource_importer_shader_file.cpp | ||
resource_importer_shader_file.h | ||
resource_importer_texture_atlas.cpp | ||
resource_importer_texture_atlas.h | ||
resource_importer_texture.cpp | ||
resource_importer_texture.h | ||
resource_importer_wav.cpp | ||
resource_importer_wav.h | ||
scene_import_settings.cpp | ||
scene_import_settings.h | ||
scene_importer_mesh_node_3d.cpp | ||
scene_importer_mesh_node_3d.h | ||
scene_importer_mesh.cpp | ||
scene_importer_mesh.h | ||
SCsub |