27 lines
984 B
Plaintext
27 lines
984 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bfp4ltw0borib"]
|
|||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://be64wnjbfhnhh" path="res://scenes/jet.gd" id="1_v0bd5"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://b5btmjvj2gosl" path="res://scripts/jet_controls/controller.tscn" id="2_m0r07"]
|
||
|
|
|
||
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_31fu5"]
|
||
|
|
size = Vector3(3, 2, 18)
|
||
|
|
|
||
|
|
[node name="jet" type="CharacterBody3D"]
|
||
|
|
motion_mode = 1
|
||
|
|
script = ExtResource("1_v0bd5")
|
||
|
|
|
||
|
|
[node name="camera" type="Camera3D" parent="."]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 18)
|
||
|
|
far = 10000.0
|
||
|
|
|
||
|
|
[node name="collision" type="CollisionShape3D" parent="."]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.17266846, -0.17565918, -1.5986328)
|
||
|
|
shape = SubResource("BoxShape3D_31fu5")
|
||
|
|
|
||
|
|
[node name="target_ray" type="RayCast3D" parent="."]
|
||
|
|
collision_mask = 8
|
||
|
|
collide_with_areas = true
|
||
|
|
debug_shape_custom_color = Color(0.76862746, 0, 0, 1)
|
||
|
|
|
||
|
|
[node name="controller" parent="." instance=ExtResource("2_m0r07")]
|