quakeball-rust/godot/scenes/misc/goal.tscn
2026-07-22 05:33:06 +03:00

32 lines
1.1 KiB
Plaintext

[gd_scene format=3 uid="uid://c1r8nk58cci3a"]
[ext_resource type="Shader" uid="uid://bafca0fr7yxgo" path="res://shaders/goal_shader.gdshader" id="1_vdq5s"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sxx5i"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("1_vdq5s")
shader_parameter/goal_color = Vector3(0, 0, 0)
[sub_resource type="CylinderMesh" id="CylinderMesh_1cgct"]
resource_local_to_scene = true
material = SubResource("ShaderMaterial_sxx5i")
top_radius = 2.0
bottom_radius = 2.0
cap_top = false
cap_bottom = false
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1cgct"]
radius = 2.0
[node name="goal" type="Goal" unique_id=177528504 node_paths=PackedStringArray("mesh")]
mesh = NodePath("mesh_instance_3d")
[node name="mesh_instance_3d" type="MeshInstance3D" parent="." unique_id=587608036]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
mesh = SubResource("CylinderMesh_1cgct")
[node name="collision_shape_3d" type="CollisionShape3D" parent="." unique_id=2021568043]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CylinderShape3D_1cgct")