godot-ball-physics-movement/game.tscn
2026-02-08 17:04:26 +09:00

66 lines
2.7 KiB
Plaintext

[gd_scene format=3 uid="uid://be0hdhgh4p8b2"]
[ext_resource type="Script" uid="uid://d1hs43512acpp" path="res://scripts/camera_targeter.gd" id="1_80nbo"]
[ext_resource type="Script" uid="uid://cwg212lk7rfi2" path="res://scripts/physics_movement.gd" id="2_e2o6t"]
[ext_resource type="Texture2D" uid="uid://cjcpbpcen2su3" path="res://icon.svg" id="3_feb5d"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_e2o6t"]
rough = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mwb40"]
albedo_color = Color(0.26666668, 0.16078432, 0.08627451, 1)
[sub_resource type="BoxMesh" id="BoxMesh_mwb40"]
material = SubResource("StandardMaterial3D_mwb40")
size = Vector3(20, 1, 20)
[sub_resource type="BoxShape3D" id="BoxShape3D_80nbo"]
size = Vector3(20, 1, 20)
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_feb5d"]
rough = true
bounce = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fc0e3"]
albedo_texture = ExtResource("3_feb5d")
[sub_resource type="SphereMesh" id="SphereMesh_7jktm"]
material = SubResource("StandardMaterial3D_fc0e3")
[sub_resource type="SphereShape3D" id="SphereShape3D_feb5d"]
[node name="Node3D" type="Node3D" unique_id=1911957]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=207332981]
transform = Transform3D(1, 0, 0, 0, 0.37640214, 0.9264564, 0, -0.9264564, 0.37640214, 0, 10.185568, 1.1867445)
[node name="Camera3D" type="Camera3D" parent="." unique_id=1327314903 node_paths=PackedStringArray("target")]
transform = Transform3D(1, 0, 0, 0, 0.8711967, 0.49093416, 0, -0.49093416, 0.8711967, 0, 6.4932036, 7.1359625)
script = ExtResource("1_80nbo")
target = NodePath("../RigidBody3D")
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=751264409]
physics_material_override = SubResource("PhysicsMaterial_e2o6t")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=86151585]
mesh = SubResource("BoxMesh_mwb40")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=433263418]
shape = SubResource("BoxShape3D_80nbo")
[node name="RigidBody3D" type="RigidBody3D" parent="." unique_id=779206838 node_paths=PackedStringArray("camera")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.177694, 0)
mass = 0.5
physics_material_override = SubResource("PhysicsMaterial_feb5d")
angular_damp = 1.0
script = ExtResource("2_e2o6t")
camera = NodePath("../Camera3D")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D" unique_id=2053654807]
mesh = SubResource("SphereMesh_7jktm")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D" unique_id=1975781434]
shape = SubResource("SphereShape3D_feb5d")