Files
GodotTutorial/Scenes/fireball.tscn
2023-07-19 09:40:16 -07:00

33 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dg7731nx22ewp"]
[ext_resource type="Script" path="res://Scripts/Fireball.cs" id="1_4ipg4"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jxwqo"]
albedo_color = Color(0.666667, 0, 0.239216, 1)
[sub_resource type="SphereMesh" id="SphereMesh_6bhr7"]
[sub_resource type="SphereShape3D" id="SphereShape3D_64t08"]
radius = 0.51754
[node name="RigidBody3D" type="RigidBody3D"]
collision_layer = 16
gravity_scale = 0.0
max_contacts_reported = 5
contact_monitor = true
script = ExtResource("1_4ipg4")
_projectileSpeed = 10.0
[node name="Fireball" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.916843, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Fireball"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0870771, 0)
material_override = SubResource("StandardMaterial3D_jxwqo")
mesh = SubResource("SphereMesh_6bhr7")
skeleton = NodePath("../../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.00448, 0.081282)
shape = SubResource("SphereShape3D_64t08")