Files
fps_project_1/bouncy_ball.tscn

24 lines
706 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bg6n67t07osaj"]
[sub_resource type="SphereShape3D" id="SphereShape3D_q6nfx"]
radius = 0.3
[sub_resource type="SphereMesh" id="SphereMesh_r5deh"]
radius = 0.3
height = 0.6
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q6nfx"]
albedo_color = Color(1, 0, 0, 1)
roughness = 0.25
[node name="BouncyBall" type="RigidBody3D"]
collision_layer = 32
collision_mask = 37
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_q6nfx")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_r5deh")
surface_material_override/0 = SubResource("StandardMaterial3D_q6nfx")