21 lines
685 B
Plaintext
21 lines
685 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cl201baro5y5"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/pathFollow.gd" id="1_fbnn2"]
|
|
[ext_resource type="PackedScene" uid="uid://bt1p311rn1h6q" path="res://vehicules/car.tscn" id="2_4yiv6"]
|
|
|
|
[node name="voiture_pnj" type="PathFollow2D"]
|
|
position = Vector2(-411, 81)
|
|
rotates = false
|
|
script = ExtResource("1_fbnn2")
|
|
|
|
[node name="voiture" parent="." instance=ExtResource("2_4yiv6")]
|
|
position = Vector2(-1, 0)
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
|
position = Vector2(1, 0)
|
|
target_position = Vector2(297, 58)
|
|
|
|
[node name="RayCast2D2" type="RayCast2D" parent="."]
|
|
position = Vector2(1, 49)
|
|
target_position = Vector2(298, -47)
|