Fireball sprite

This commit is contained in:
2023-09-02 07:54:20 -07:00
parent b6262e2b1f
commit c63fb2c799
4 changed files with 61 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://si4byubqnng4"]
[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)
@@ -24,8 +25,13 @@ 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")