65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://b1twcuneob5kt"]
|
|
|
|
[ext_resource type="Script" uid="uid://bx1k4yff3m82m" path="res://src/items/thrown/ThrownItem.cs" id="1_wlplc"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_s4ym5"]
|
|
size = Vector3(0.46632, 0.507293, 0.586082)
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xxdqr"]
|
|
radius = 0.1
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_xxdqr"]
|
|
viewport_path = NodePath("Sprite3D/SubViewportContainer/SubViewport")
|
|
|
|
[node name="Hitbox" type="RigidBody3D"]
|
|
process_mode = 1
|
|
collision_layer = 3072
|
|
collision_mask = 2049
|
|
gravity_scale = 0.2
|
|
contact_monitor = true
|
|
max_contacts_reported = 50
|
|
script = ExtResource("1_wlplc")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.1, 0)
|
|
shape = SubResource("BoxShape3D_s4ym5")
|
|
|
|
[node name="Collision" type="Area3D" parent="."]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.1, 0)
|
|
collision_layer = 4
|
|
collision_mask = 2048
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision"]
|
|
shape = SubResource("SphereShape3D_xxdqr")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.1, 0)
|
|
pixel_size = 0.025
|
|
billboard = 2
|
|
texture_filter = 0
|
|
texture = SubResource("ViewportTexture_xxdqr")
|
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="Sprite3D"]
|
|
visibility_layer = 0
|
|
texture_filter = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="Sprite3D/SubViewportContainer"]
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
canvas_cull_mask = 4293918721
|
|
size = Vector2i(100, 100)
|
|
render_target_update_mode = 4
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="Sprite3D/SubViewportContainer/SubViewport"]
|
|
unique_name_in_owner = true
|
|
texture_filter = 1
|
|
offset = Vector2(50, 50)
|