mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-04-29 16:25:35 +00:00
29 lines
959 B
Text
29 lines
959 B
Text
[gd_scene load_steps=4 format=3 uid="uid://dn1tcakam5egs"]
|
|
|
|
[ext_resource type="Script" path="res://weapons/space_gun/projectile.gd" id="1_4j1dp"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o6j55"]
|
|
albedo_color = Color(0, 0.498039, 0.854902, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.482353, 0.65098, 1, 1)
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_umtte"]
|
|
radius = 0.15
|
|
|
|
[node name="Projectile" type="Node3D"]
|
|
script = ExtResource("1_4j1dp")
|
|
|
|
[node name="Mesh" type="CSGSphere3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.2, 0, 0, 0, 1, 0, 0, 0)
|
|
radius = 0.15
|
|
radial_segments = 24
|
|
rings = 8
|
|
material = SubResource("StandardMaterial3D_o6j55")
|
|
|
|
[node name="ShapeCast3D" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.2, 0, 0, 0, 1, 0, 0, 0)
|
|
shape = SubResource("SphereShape3D_umtte")
|
|
target_position = Vector3(0, 0, 0)
|
|
margin = 0.1
|
|
max_results = 1
|
|
debug_shape_custom_color = Color(1, 0, 0, 1)
|