Files
Aula_Godot_3D/Assets/world.tscn
T
2026-05-02 20:03:54 -03:00

52 lines
2.2 KiB
Plaintext

[gd_scene format=3 uid="uid://d3jfn55lhv658"]
[ext_resource type="Texture2D" uid="uid://bwb5tbqutixgn" path="res://anime_skybox.jpg" id="1_ui7ud"]
[ext_resource type="PackedScene" uid="uid://dis4m18yyeqww" path="res://Assets/Models/Actors/player.tscn" id="4_ws1nr"]
[ext_resource type="Script" uid="uid://ciatq4g0mefhf" path="res://Assets/Scripts/camera_pivot.gd" id="5_vjabh"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_m25cl"]
panorama = ExtResource("1_ui7ud")
[sub_resource type="Sky" id="Sky_hgc2c"]
sky_material = SubResource("PanoramaSkyMaterial_m25cl")
[sub_resource type="Environment" id="Environment_ui7ud"]
background_mode = 2
sky = SubResource("Sky_hgc2c")
[sub_resource type="PlaneMesh" id="PlaneMesh_ui7ud"]
size = Vector2(150, 150)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_m25cl"]
data = PackedVector3Array(10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0, -10, 10, 0, -10)
[node name="World" type="Node3D" unique_id=285393791]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1973691804]
environment = SubResource("Environment_ui7ud")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1264939534]
transform = Transform3D(1, 0, 0, 0, 0.18972956, 0.9818364, 0, -0.9818364, 0.18972956, 0, 3.593497, 5.381867)
shadow_enabled = true
sky_mode = 1
[node name="GridMap" type="GridMap" parent="." unique_id=160102241]
[node name="Ground" type="MeshInstance3D" parent="." unique_id=199371756]
mesh = SubResource("PlaneMesh_ui7ud")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground" unique_id=568384717]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D" unique_id=1543668192]
shape = SubResource("ConcavePolygonShape3D_m25cl")
[node name="Camera_pivot" type="Node3D" parent="." unique_id=1773563946 node_paths=PackedStringArray("target")]
script = ExtResource("5_vjabh")
target = NodePath("../Player")
[node name="Camera" type="Camera3D" parent="Camera_pivot" unique_id=205599850]
[node name="Player" parent="." unique_id=1103279396 node_paths=PackedStringArray("view") instance=ExtResource("4_ws1nr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27383035, 0.003461957, -3.6754417)
view = NodePath("../Camera_pivot")