mirror of
https://github.com/godotengine/godot-blender-exporter.git
synced 2026-01-05 18:10:04 +03:00
Store the draw type when exporting empty nodes
Supports using empties as placeholders for collision shapes
This commit is contained in:
8
tests/reference_exports/collision_empties/arrow.escn
Normal file
8
tests/reference_exports/collision_empties/arrow.escn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=1 format=2]
|
||||
|
||||
[node type="Spatial" name="Scene"]
|
||||
|
||||
[node name="arrow-colonly" type="Spatial" parent="."]
|
||||
|
||||
transform = Transform(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)
|
||||
__meta__ = { "empty_draw_type": "SINGLE_ARROW" }
|
||||
8
tests/reference_exports/collision_empties/cube.escn
Normal file
8
tests/reference_exports/collision_empties/cube.escn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=1 format=2]
|
||||
|
||||
[node type="Spatial" name="Scene"]
|
||||
|
||||
[node name="cube-colonly" type="Spatial" parent="."]
|
||||
|
||||
transform = Transform(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)
|
||||
__meta__ = { "empty_draw_type": "CUBE" }
|
||||
8
tests/reference_exports/collision_empties/image.escn
Normal file
8
tests/reference_exports/collision_empties/image.escn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=1 format=2]
|
||||
|
||||
[node type="Spatial" name="Scene"]
|
||||
|
||||
[node name="image-colonly" type="Spatial" parent="."]
|
||||
|
||||
transform = Transform(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)
|
||||
__meta__ = { "empty_draw_type": "IMAGE" }
|
||||
8
tests/reference_exports/collision_empties/sphere.escn
Normal file
8
tests/reference_exports/collision_empties/sphere.escn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=1 format=2]
|
||||
|
||||
[node type="Spatial" name="Scene"]
|
||||
|
||||
[node name="sphere-colonly" type="Spatial" parent="."]
|
||||
|
||||
transform = Transform(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)
|
||||
__meta__ = { "empty_draw_type": "SPHERE" }
|
||||
BIN
tests/test_scenes/collision_empties/arrow.blend
Normal file
BIN
tests/test_scenes/collision_empties/arrow.blend
Normal file
Binary file not shown.
BIN
tests/test_scenes/collision_empties/cube.blend
Normal file
BIN
tests/test_scenes/collision_empties/cube.blend
Normal file
Binary file not shown.
BIN
tests/test_scenes/collision_empties/image.blend
Normal file
BIN
tests/test_scenes/collision_empties/image.blend
Normal file
Binary file not shown.
BIN
tests/test_scenes/collision_empties/sphere.blend
Normal file
BIN
tests/test_scenes/collision_empties/sphere.blend
Normal file
Binary file not shown.
Reference in New Issue
Block a user