Lesson 2
This commit is contained in:
29
BaloonPopper/BalloonPopper.tscn
Normal file
29
BaloonPopper/BalloonPopper.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://2ods25xi0dka"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://bdq28mtbdbb0n" path="res://BaloonPopper/Balloon.tres" id="1_5iqhe"]
|
||||
[ext_resource type="Script" uid="uid://c30ldumgb7qiu" path="res://BaloonPopper/balloon.gd" id="1_f5668"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_7wxj3"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_x0uas"]
|
||||
|
||||
[node name="Main" type="Node3D"]
|
||||
|
||||
[node name="Balloon" type="Area3D" parent="."]
|
||||
script = ExtResource("1_f5668")
|
||||
|
||||
[node name="Model" type="MeshInstance3D" parent="Balloon"]
|
||||
material_override = ExtResource("1_5iqhe")
|
||||
mesh = SubResource("SphereMesh_7wxj3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Balloon"]
|
||||
shape = SubResource("SphereShape3D_x0uas")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 4)
|
||||
current = true
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 2, 3)
|
||||
|
||||
[connection signal="input_event" from="Balloon" to="Balloon" method="_on_input_event"]
|
||||
Reference in New Issue
Block a user