open-fpsz/entities/weapons/chaingun/projectile.tscn
2024-10-16 21:43:01 +00:00

23 lines
908 B
Text

[gd_scene load_steps=4 format=3 uid="uid://b0sfwgilfbpx5"]
[ext_resource type="PackedScene" uid="uid://bf7v57agnxtcp" path="res://entities/weapons/chaingun/assets/tracer.glb" id="1_p7mmn"]
[ext_resource type="Script" path="res://entities/weapons/chaingun/projectile.gd" id="2_jjfwk"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dbodg"]
radius = 0.2
height = 2.5
[node name="ChainGunProjectile" instance=ExtResource("1_p7mmn")]
script = ExtResource("2_jjfwk")
speed = 128.0
lifespan = 3.0
damage = 15
[node name="ShapeCast3D" type="ShapeCast3D" parent="." index="0"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 1.25)
shape = SubResource("CapsuleShape3D_dbodg")
target_position = Vector3(0, 0, 0)
collision_mask = 2147483653
[node name="tracerinner" parent="." index="1"]
transform = Transform3D(0.0505494, 0, 0, 0, 0.0505494, 0, 0, 0, 0.0505494, 0, 0, 2.5)