Godot_Bouncy_Ball_Prototype/Ball/balE32A.tmp

72 lines
2.2 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://dd1e3u5cyy3mk"]
[ext_resource type="Material" uid="uid://ccktnp41cys0r" path="res://Ball/Meshes/ball_material.tres" id="1_5n3i6"]
[ext_resource type="Script" path="res://Ball/ball_test.gd" id="1_s3xmr"]
[sub_resource type="SphereShape3D" id="SphereShape3D_jblqj"]
radius = 0.1
[sub_resource type="SphereMesh" id="SphereMesh_52mtx"]
[sub_resource type="SphereShape3D" id="SphereShape3D_862wy"]
[sub_resource type="SphereShape3D" id="SphereShape3D_dwt7q"]
[sub_resource type="BoxMesh" id="BoxMesh_1auv0"]
[sub_resource type="SphereMesh" id="SphereMesh_xquva"]
radius = 0.2
height = 0.4
[sub_resource type="SphereMesh" id="SphereMesh_bnhf3"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5h0ki"]
transparency = 1
albedo_color = Color(1, 0.372549, 1, 0.701961)
[node name="BallBase" type="RigidBody3D"]
collision_layer = 0
collision_mask = 0
gravity_scale = 0.0
continuous_cd = true
lock_rotation = true
linear_damp_mode = 1
angular_damp_mode = 1
script = ExtResource("1_s3xmr")
speed = 20.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_jblqj")
[node name="BallMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.0029127)
mesh = SubResource("SphereMesh_52mtx")
surface_material_override/0 = ExtResource("1_5n3i6")
[node name="BallBody" type="StaticBody3D" parent="."]
collision_layer = 4
collision_mask = 5
[node name="CollisionShape3D" type="CollisionShape3D" parent="BallBody"]
shape = SubResource("SphereShape3D_862wy")
[node name="AnchorBody3D" type="StaticBody3D" parent="."]
top_level = true
collision_layer = 4
collision_mask = 5
[node name="CollisionShape3D" type="CollisionShape3D" parent="AnchorBody3D"]
shape = SubResource("SphereShape3D_dwt7q")
[node name="MeshInstance3D" type="MeshInstance3D" parent="AnchorBody3D"]
mesh = SubResource("BoxMesh_1auv0")
[node name="TestMesh" type="MeshInstance3D" parent="."]
visible = false
mesh = SubResource("SphereMesh_xquva")
[node name="TestMesh2" type="MeshInstance3D" parent="."]
visible = false
mesh = SubResource("SphereMesh_bnhf3")
surface_material_override/0 = SubResource("StandardMaterial3D_5h0ki")