Godot_Bouncy_Ball_Prototype/World/world.tscn

79 lines
3.0 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://b06nx3ofndgjy"]
[ext_resource type="Texture2D" uid="uid://onahsd5he406" path="res://Misc/64x64_orange_grey.png" id="1_k0u6d"]
[ext_resource type="PackedScene" uid="uid://ggl4tqcb5dbc" path="res://Player/player.tscn" id="1_n0nhi"]
[ext_resource type="Script" path="res://Misc/debug_cone.gd" id="3_nsiny"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bwr1w"]
albedo_texture = ExtResource("1_k0u6d")
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_triplanar = true
texture_filter = 2
[sub_resource type="PlaneMesh" id="PlaneMesh_6jpek"]
size = Vector2(3, 8)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_iauoa"]
points = PackedVector3Array(1.5, 0, 4, -1.5, 0, 4, 1.5, 0, -4, -1.5, 0, -4)
[sub_resource type="SphereMesh" id="SphereMesh_0a0pq"]
radius = 3.0
height = 6.0
[sub_resource type="SphereShape3D" id="SphereShape3D_hjh1m"]
radius = 3.0
[sub_resource type="CylinderMesh" id="CylinderMesh_modx0"]
top_radius = 0.0
bottom_radius = 0.3
height = 0.6
[node name="World" type="Node3D"]
[node name="Level" type="Node3D" parent="."]
[node name="CSGBox3D" type="CSGBox3D" parent="Level"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0)
material_override = SubResource("StandardMaterial3D_bwr1w")
use_collision = true
size = Vector3(12, 8, 12)
[node name="CSGBox3D2" type="CSGBox3D" parent="Level/CSGBox3D"]
operation = 2
size = Vector3(11.8, 7.8, 11.8)
[node name="DiagonalWall" type="StaticBody3D" parent="Level"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -5)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Level/DiagonalWall"]
transform = Transform3D(0.707107, 0.707107, -3.09086e-08, 0, -4.37114e-08, -1, -0.707107, 0.707107, -3.09086e-08, 0, 4, 0)
mesh = SubResource("PlaneMesh_6jpek")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Level/DiagonalWall"]
transform = Transform3D(0.707107, 0.707107, -3.09086e-08, 0, -4.37114e-08, -1, -0.707107, 0.707107, -3.09086e-08, 0, 4, 0)
shape = SubResource("ConvexPolygonShape3D_iauoa")
[node name="Sphere" type="StaticBody3D" parent="Level"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -6)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Level/Sphere"]
mesh = SubResource("SphereMesh_0a0pq")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Level/Sphere"]
shape = SubResource("SphereShape3D_hjh1m")
[node name="Player" parent="." instance=ExtResource("1_n0nhi")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.482579, -0.637736, -0.600342, 0, -0.685437, 0.728132, -0.875852, -0.351381, -0.330778, 0, 0, 0)
[node name="DebugCone" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 0.5, 4.5)
script = ExtResource("3_nsiny")
[node name="DebugConeMesh" type="MeshInstance3D" parent="DebugCone"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
mesh = SubResource("CylinderMesh_modx0")
skeleton = NodePath("../..")