36 lines
1023 B
Plaintext
36 lines
1023 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://rdlvlyf0l1l"]
|
|
|
|
[ext_resource type="Script" path="res://Ball/ball.gd" id="1_oenn5"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_b4pqe"]
|
|
size = Vector3(0.5, 0.5, 0.5)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tdblm"]
|
|
albedo_color = Color(0.117647, 0.427451, 0.611765, 1)
|
|
roughness = 0.42
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_mq1q1"]
|
|
radius = 0.3
|
|
height = 0.6
|
|
|
|
[node name="Ball" type="RigidBody3D"]
|
|
collision_layer = 4
|
|
custom_integrator = true
|
|
max_contacts_reported = 1
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
lock_rotation = true
|
|
linear_damp_mode = 1
|
|
angular_damp_mode = 1
|
|
script = ExtResource("1_oenn5")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_b4pqe")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_tdblm")
|
|
mesh = SubResource("SphereMesh_mq1q1")
|
|
|
|
[node name="TimerCollision" type="Timer" parent="."]
|
|
one_shot = true
|