-
Notifications
You must be signed in to change notification settings - Fork 45
/
ball.tscn
37 lines (28 loc) · 1.3 KB
/
ball.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[gd_scene load_steps=7 format=3 uid="uid://cvlvtuagt0xy"]
[ext_resource type="Script" path="res://3d_balls_pool/ball.gd" id="1_gen3q"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_m86km"]
bounce = 0.25
[sub_resource type="Gradient" id="Gradient_24am5"]
offsets = PackedFloat32Array(0.0031348, 0.323263, 0.670695, 1)
colors = PackedColorArray(1, 0.557014, 0.826407, 1, 1, 0.642363, 0.336072, 1, 0.689715, 0.846422, 0.0114904, 1, 1.92523e-06, 0.82207, 0.829813, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4awk6"]
resource_local_to_scene = true
albedo_color = Color(0.776471, 0.494118, 0, 1)
roughness = 0.45
[sub_resource type="SphereMesh" id="SphereMesh_6png3"]
radius = 0.2
height = 0.4
radial_segments = 32
rings = 16
[sub_resource type="SphereShape3D" id="SphereShape3D_q1ixl"]
radius = 0.2
[node name="Ball" type="RigidBody3D" groups=["balls"]]
physics_material_override = SubResource("PhysicsMaterial_m86km")
script = ExtResource("1_gen3q")
gradient = SubResource("Gradient_24am5")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
unique_name_in_owner = true
material_override = SubResource("StandardMaterial3D_4awk6")
mesh = SubResource("SphereMesh_6png3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_q1ixl")