CUBE.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://scripts/EPlace.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/3DLabel.gd" type="Script" id=2]
  4. [ext_resource path="res://scripts/CUBE.gd" type="Script" id=3]
  5. [sub_resource type="CubeMesh" id=1]
  6. [sub_resource type="SpatialMaterial" id=3]
  7. albedo_color = Color( 0.223529, 0.435294, 0.215686, 1 )
  8. [sub_resource type="SphereShape" id=2]
  9. [node name="CUBE" type="Spatial"]
  10. script = ExtResource( 3 )
  11. [node name="CameraPlace" type="Spatial" parent="."]
  12. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.683819, 0.885283 )
  13. [node name="Spatial" type="Spatial" parent="."]
  14. [node name="EPlace" type="Spatial" parent="Spatial"]
  15. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.555119, 0 )
  16. script = ExtResource( 1 )
  17. [node name="MeshInstance" type="MeshInstance" parent="Spatial"]
  18. transform = Transform( 0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0 )
  19. mesh = SubResource( 1 )
  20. material/0 = SubResource( 3 )
  21. [node name="Cube" type="StaticBody" parent="Spatial"]
  22. collision_layer = 5
  23. [node name="CollisionShape" type="CollisionShape" parent="Spatial/Cube"]
  24. shape = SubResource( 2 )
  25. [node name="Label" type="Spatial" parent="Spatial"]
  26. transform = Transform( 0.018, 0, 0, 0, 0.018, 0, 0, 0, 0.018, 0, 0, 0.438694 )
  27. script = ExtResource( 2 )
  28. text = "reset"
  29. color = Color( 0.658824, 0.301961, 0.745098, 1 )