Public repository for MUR pre alpha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://assets/road/roadLoop.obj" type="ArrayMesh" id=1]
  3. [ext_resource path="res://scripts/road/road.gd" type="Script" id=2]
  4. [ext_resource path="res://resources/road/roadLoop.tres" type="Curve3D" id=3]
  5. [ext_resource path="res://resources/road/roadLoop_collision.tres" type="Curve3D" id=4]
  6. [node name="roadLoop" type="MeshInstance"]
  7. mesh = ExtResource( 1 )
  8. material/0 = null
  9. material/1 = null
  10. material/2 = null
  11. script = ExtResource( 2 )
  12. reset_index = 2
  13. speed_constrains = PoolVector3Array( 2.5, 4.8, -0.09, 4.8, 7.6, -0.13 )
  14. force_penalties = PoolVector3Array( 0, 0, 0, 0, -1, -0.1 )
  15. path_penalties = [ 5.0 ]
  16. [node name="Path" type="Path" parent="."]
  17. curve = ExtResource( 3 )
  18. [node name="CollisionPath" type="Path" parent="."]
  19. curve = ExtResource( 4 )
  20. [node name="StaticBody" type="CSGPolygon" parent="."]
  21. visible = false
  22. use_collision = true
  23. invert_faces = true
  24. polygon = PoolVector2Array( -0.5, 0, -0.5, 0.01, 0.5, 0.01, 0.5, 0 )
  25. mode = 2
  26. path_node = NodePath("../CollisionPath")
  27. path_interval = 1.0
  28. path_rotation = 1
  29. path_local = true
  30. path_continuous_u = true
  31. path_joined = false