38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://si4byubqnng4"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/TestBullet.cs" id="1_cavby"]
|
|
[ext_resource type="Texture2D" uid="uid://dpln8jwtpqru0" path="res://Textures/Projectiles/fireball.png" id="2_xa8hs"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_phgri"]
|
|
albedo_color = Color(0.584314, 0.0352941, 0.141176, 1)
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_wuk0e"]
|
|
material = SubResource("StandardMaterial3D_phgri")
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_rokeu"]
|
|
|
|
[node name="TestBullet" type="Node3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
|
|
script = ExtResource("1_cavby")
|
|
Cooldown = 0.5
|
|
_projectileSpeed = 15.0
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
contact_monitor = true
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
|
|
visible = false
|
|
mesh = SubResource("SphereMesh_wuk0e")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
shape = SubResource("SphereShape3D_rokeu")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
|
axis = 1
|
|
texture = ExtResource("2_xa8hs")
|