Godot_Bouncy_Ball_Prototype/Ball/balA3FF.tmp

41 lines
1.3 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://rdlvlyf0l1l"]
[ext_resource type="Script" path="res://Ball/ball.gd" id="1_oenn5"]
[ext_resource type="Shader" uid="uid://ny01m62ohegv" path="res://Ball/Meshes/ball_visual_shader.tres" id="2_wbu40"]
[ext_resource type="PackedScene" uid="uid://dn8tw0i6t3701" path="res://Ball/ball_mesh_bouncing.tscn" id="3_3pvgr"]
[sub_resource type="SphereShape3D" id="SphereShape3D_ogc07"]
radius = 0.3
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qwhgq"]
render_priority = 0
shader = ExtResource("2_wbu40")
[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("SphereShape3D_ogc07")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
visible = false
material_override = SubResource("ShaderMaterial_qwhgq")
mesh = SubResource("SphereMesh_mq1q1")
[node name="TimerCollision" type="Timer" parent="."]
one_shot = true
[node name="BallBouncingMesh" parent="." instance=ExtResource("3_3pvgr")]