23 lines
958 B
Plaintext
23 lines
958 B
Plaintext
[gd_scene format=3 uid="uid://dfnbc8sbufa4j"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://r13poamopmnv" path="res://mesh/ball_mesh.tscn" id="1_texud"]
|
|
[ext_resource type="AudioStream" uid="uid://gpx6c15g3151" path="res://raw_assets/sfx/ball/zapsplat_sport_basketball_single_bounce_on_court_003_71655.mp3" id="2_xt7sd"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1cgct"]
|
|
|
|
[node name="ball" type="Ball" unique_id=816748600 node_paths=PackedStringArray("bounce_sfx")]
|
|
bounce_sfx = NodePath("bounce_sfx")
|
|
collision_layer = 8
|
|
collision_mask = 7
|
|
contact_monitor = true
|
|
max_contacts_reported = 10
|
|
|
|
[node name="mesh_instance_3d" parent="." unique_id=37904686 instance=ExtResource("1_texud")]
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="." unique_id=1408432914]
|
|
shape = SubResource("SphereShape3D_1cgct")
|
|
|
|
[node name="bounce_sfx" type="AudioStreamPlayer3D" parent="." unique_id=929128469]
|
|
stream = ExtResource("2_xt7sd")
|
|
bus = &"SFX"
|