Add basic setup to generate collision mesh

This commit is contained in:
2024-05-09 00:25:15 +02:00
parent 649b19a33d
commit 15df44a0eb
4 changed files with 18 additions and 3 deletions
+12
View File
@@ -90,3 +90,15 @@ class ExportForFange(bpy.types.Operator):
# print(f'[Pipeline] Check {coll}. Item type {type(coll)}')
return {'FINISHED'}
class MakeBasicCollision(bpy.types.Operator):
"""From selected mesh, make a collision object"""
bl_idname = 'graou.make_collision'
bl_label = 'Generate a collision from selected mesh'
@classmethod
def poll(cls, context):
return bpy.context.object
def execute(self, context):
return {'FINISHED'}