Photo_Game/Scene/visto.tscn

21 lines
936 B
Text

[gd_scene load_steps=4 format=3 uid="uid://bk2nxxt5jfmhw"]
[ext_resource type="Script" uid="uid://br3i356g3fo3f" path="res://Script/ball.gd" id="1_6drh8"]
[sub_resource type="SphereShape3D" id="SphereShape3D_u2vub"]
[sub_resource type="SphereMesh" id="SphereMesh_lqgjk"]
[node name="focus" type="StaticBody3D" groups=["punti focus"]]
script = ExtResource("1_6drh8")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_u2vub")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_lqgjk")
[node name="VisibleOnScreenNotifier3D" type="VisibleOnScreenNotifier3D" parent="."]
[connection signal="screen_entered" from="VisibleOnScreenNotifier3D" to="." method="_on_visible_on_screen_notifier_3d_screen_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier3D" to="." method="_on_visible_on_screen_notifier_3d_screen_exited"]