first init
This commit is contained in:
49
Assets/player_ship.tscn
Normal file
49
Assets/player_ship.tscn
Normal file
@@ -0,0 +1,49 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c8tm1q2cp567o"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccnbhjxglgw12" path="res://Assets/player_ship.gd" id="1_3yydb"]
|
||||
[ext_resource type="Script" uid="uid://ci33hs6nbuhqr" path="res://Assets/shipAiComponent.gd" id="2_vr0dq"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_tjnu1"]
|
||||
radius = 1.48237
|
||||
height = 3.89605
|
||||
|
||||
[sub_resource type="PrismMesh" id="PrismMesh_tjnu1"]
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_3yydb"]
|
||||
|
||||
[node name="PlayerShip" type="RigidBody3D"]
|
||||
script = ExtResource("1_3yydb")
|
||||
_start_direction = Vector3(0, 0, -50)
|
||||
_start_speed = 1.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.358494)
|
||||
shape = SubResource("CapsuleShape3D_tjnu1")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
||||
transform = Transform3D(2.20781, 0, 0, 0, -9.18077e-08, -1.7005, 0, 2.10032, -7.43314e-08, 0, 0.524807, 0.378866)
|
||||
mesh = SubResource("PrismMesh_tjnu1")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="MeshInstance3D2" type="MeshInstance3D" parent="CollisionShape3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.475193, -2.07714e-08)
|
||||
mesh = SubResource("CylinderMesh_3yydb")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="ShipAiComponent" type="Node" parent="."]
|
||||
script = ExtResource("2_vr0dq")
|
||||
metadata/_custom_type_script = "uid://ci33hs6nbuhqr"
|
||||
|
||||
[node name="Label3D" type="Label3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.32815, 0)
|
||||
billboard = 2
|
||||
no_depth_test = true
|
||||
render_priority = 1
|
||||
text = "Text"
|
||||
font_size = 128
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="."]
|
||||
target_position = Vector3(0, 0, 0)
|
||||
hit_from_inside = true
|
||||
collide_with_areas = true
|
||||
debug_shape_custom_color = Color(0.712962, 0.712962, 0.712962, 1)
|
||||
Reference in New Issue
Block a user