batrix/scenes/projectiles/projectile.tscn
2025-02-18 03:38:56 +10:00

25 lines
885 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cejn8wfgw14xs"]
[ext_resource type="Script" path="res://scripts/projectiles/projectile.gd" id="1_kv6x5"]
[ext_resource type="Material" uid="uid://cux40v5s5sok3" path="res://resources/materials/debug/debug_projectile.tres" id="2_b024o"]
[sub_resource type="SphereShape3D" id="SphereShape3D_vc8th"]
radius = 0.25
[sub_resource type="SphereMesh" id="SphereMesh_ctqwx"]
radius = 0.25
height = 0.5
[node name="Projectile" type="AnimatableBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
collision_layer = 32
collision_mask = 32
script = ExtResource("1_kv6x5")
_collision_debug_material = ExtResource("2_b024o")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_vc8th")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_ctqwx")