|
@@ -0,0 +1,50 @@
|
|
|
+[gd_scene load_steps=7 format=2]
|
|
|
+
|
|
|
+[ext_resource path="res://marker/AxisMarker3D.gd" type="Script" id=1]
|
|
|
+
|
|
|
+[sub_resource type="CubeMesh" id=1]
|
|
|
+size = Vector3( 1, 1, 1 )
|
|
|
+
|
|
|
+[sub_resource type="SpatialMaterial" id=2]
|
|
|
+albedo_color = Color( 0, 1, 1, 1 )
|
|
|
+
|
|
|
+[sub_resource type="SpatialMaterial" id=3]
|
|
|
+albedo_color = Color( 1, 0, 0, 1 )
|
|
|
+
|
|
|
+[sub_resource type="SpatialMaterial" id=4]
|
|
|
+albedo_color = Color( 0, 1, 0, 1 )
|
|
|
+
|
|
|
+[sub_resource type="SpatialMaterial" id=5]
|
|
|
+albedo_color = Color( 0, 0, 1, 1 )
|
|
|
+
|
|
|
+[node name="AxisMarker" type="Spatial"]
|
|
|
+script = ExtResource( 1 )
|
|
|
+
|
|
|
+[node name="Origin" type="Node" parent="."]
|
|
|
+
|
|
|
+[node name="Holder" type="Spatial" parent="Origin"]
|
|
|
+
|
|
|
+[node name="Cube" type="MeshInstance" parent="Origin/Holder"]
|
|
|
+transform = Transform( 0.0001, 0, 0, 0, 0.0001, 0, 0, 0, 0.0001, 0, 0, 0 )
|
|
|
+mesh = SubResource( 1 )
|
|
|
+material/0 = SubResource( 2 )
|
|
|
+
|
|
|
+[node name="Center" type="MeshInstance" parent="."]
|
|
|
+transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
|
|
|
+mesh = SubResource( 1 )
|
|
|
+material/0 = SubResource( 2 )
|
|
|
+
|
|
|
+[node name="X" type="MeshInstance" parent="."]
|
|
|
+transform = Transform( 1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.55, 0, 0 )
|
|
|
+mesh = SubResource( 1 )
|
|
|
+material/0 = SubResource( 3 )
|
|
|
+
|
|
|
+[node name="Y" type="MeshInstance" parent="."]
|
|
|
+transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 0.55, 0 )
|
|
|
+mesh = SubResource( 1 )
|
|
|
+material/0 = SubResource( 4 )
|
|
|
+
|
|
|
+[node name="Z" type="MeshInstance" parent="."]
|
|
|
+transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 1, 0, 0, 0.55 )
|
|
|
+mesh = SubResource( 1 )
|
|
|
+material/0 = SubResource( 5 )
|