mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 19:35:54 +00:00
47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://byc67yxbkefyk"]
|
|
|
|
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_48dvc"]
|
|
[ext_resource type="Texture2D" uid="uid://cybpmpb0d8yva" path="res://Sprites/Projectile.png" id="2_pklkt"]
|
|
[ext_resource type="Script" uid="uid://dvln1783wvvuw" path="res://Scripts/Components/Actors/ShadowProvider.cs" id="3_pklkt"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
|
|
radius = 0.172059
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y20hp"]
|
|
transparency = 1
|
|
depth_draw_mode = 2
|
|
shading_mode = 0
|
|
albedo_color = Color(0, 0, 0, 0.235294)
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_6q4hk"]
|
|
material = SubResource("StandardMaterial3D_y20hp")
|
|
|
|
[node name="Bullet" type="Area3D" groups=["bullets"]]
|
|
collision_layer = 8
|
|
collision_mask = 85
|
|
script = ExtResource("1_48dvc")
|
|
Speed = 200.0
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="Sprite" type="Sprite3D" parent="."]
|
|
pixel_size = 0.05
|
|
billboard = 1
|
|
texture_filter = 0
|
|
texture = ExtResource("2_pklkt")
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_pklkt")
|
|
|
|
[node name="VisibleOnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="."]
|
|
|
|
[node name="Shadow" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.29, 0)
|
|
mesh = SubResource("QuadMesh_6q4hk")
|
|
script = ExtResource("3_pklkt")
|
|
MaxShadowScale = 0.2
|
|
MinShadowScale = 0.05
|
|
CollisionMask = 1
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|