-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
173 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://c115tt1j1r0g0"] | ||
|
||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_3brqh"] | ||
|
||
[sub_resource type="Sky" id="1"] | ||
sky_material = SubResource( "ProceduralSkyMaterial_3brqh" ) | ||
|
||
[resource] | ||
background_mode = 2 | ||
sky = SubResource( "1" ) | ||
tonemap_mode = 2 |
File renamed without changes
29 changes: 14 additions & 15 deletions
29
3d/navmesh/icon.png.import → 3d/basic_navigation/icon.png.import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture2D" | ||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" | ||
type="CompressedTexture2D" | ||
uid="uid://cpa2d0lxfn2mj" | ||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://icon.png" | ||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"] | ||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/lossy_quality=0.7 | ||
compress/hdr_mode=0 | ||
compress/hdr_compression=1 | ||
compress/bptc_ldr=0 | ||
compress/normal_map=0 | ||
flags/repeat=0 | ||
flags/filter=true | ||
flags/mipmaps=false | ||
flags/anisotropic=false | ||
flags/srgb=2 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/HDR_as_SRGB=false | ||
process/invert_color=false | ||
process/normal_map_invert_y=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[gd_scene load_steps=8 format=3 uid="uid://dkhg8e00d02f2"] | ||
|
||
[ext_resource type="Script" path="res://navmesh.gd" id="1"] | ||
[ext_resource type="NavigationMesh" uid="uid://xl4o2ckjxava" path="res://navmesh.res" id="2_lcfvj"] | ||
[ext_resource type="Environment" uid="uid://c115tt1j1r0g0" path="res://default_env.tres" id="3"] | ||
[ext_resource type="ArrayMesh" uid="uid://gmytdjp2bcsq" path="res://level_mesh.res" id="3_1cas0"] | ||
[ext_resource type="ArrayMesh" uid="uid://prwe6io8p1iv" path="res://robot.res" id="5_ple0n"] | ||
|
||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_noou6"] | ||
shading_mode = 0 | ||
use_point_size = true | ||
|
||
[sub_resource type="ImmediateMesh" id="ImmediateMesh_dvj5w"] | ||
|
||
[node name="Node3D" type="Node3D"] | ||
_import_path = NodePath(".") | ||
script = ExtResource( "1" ) | ||
|
||
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] | ||
navmesh = ExtResource( "2_lcfvj" ) | ||
|
||
[node name="LevelMesh" type="MeshInstance3D" parent="NavigationRegion3D"] | ||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -0.0452547, 0) | ||
gi_mode = 1 | ||
mesh = ExtResource( "3_1cas0" ) | ||
|
||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] | ||
transform = Transform3D(0.623013, -0.733525, 0.271654, 0.321394, 0.55667, 0.766044, -0.713134, -0.389948, 0.582563, 10.0773, 5.02381, 0) | ||
light_energy = 5.0 | ||
shadow_enabled = true | ||
|
||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] | ||
environment = ExtResource( "3" ) | ||
|
||
[node name="DrawPath" type="MeshInstance3D" parent="."] | ||
material_override = SubResource( "StandardMaterial3D_noou6" ) | ||
mesh = SubResource( "ImmediateMesh_dvj5w" ) | ||
|
||
[node name="CameraBase" type="Node3D" parent="."] | ||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.07475, 0, 1.96678) | ||
|
||
[node name="Camera3D" type="Camera3D" parent="CameraBase"] | ||
transform = Transform3D(-0.560554, -0.429252, 0.708182, 0.106298, 0.8108, 0.575591, -0.821267, 0.397928, -0.408869, 18.091, 14.744, -7.017) | ||
fov = 50.0 | ||
near = 0.1 | ||
|
||
[node name="RobotBase" type="Position3D" parent="."] | ||
|
||
[node name="Robot" type="MeshInstance3D" parent="RobotBase"] | ||
transform = Transform3D(-0.5, 0, -7.54979e-08, 0, 1, 0, 7.54979e-08, 0, -0.5, 0, 1, 0) | ||
gi_mode = 2 | ||
mesh = ExtResource( "5_ple0n" ) |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://c27ndr5sgvyr8" | ||
path.s3tc="res://.godot/imported/particle.png-c2ba3d91e96c62035d672392a1197218.s3tc.ctex" | ||
path.etc2="res://.godot/imported/particle.png-c2ba3d91e96c62035d672392a1197218.etc2.ctex" | ||
metadata={ | ||
"imported_formats": ["s3tc", "etc2"], | ||
"vram_texture": true | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://particle.png" | ||
dest_files=["res://.godot/imported/particle.png-c2ba3d91e96c62035d672392a1197218.s3tc.ctex", "res://.godot/imported/particle.png-c2ba3d91e96c62035d672392a1197218.etc2.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=2 | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/bptc_ldr=0 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
; Engine configuration file. | ||
; It's best edited using the editor UI and not directly, | ||
; since the parameters that go here are not all obvious. | ||
; | ||
; Format: | ||
; [section] ; section goes between [] | ||
; param=value ; assign values to parameters | ||
|
||
config_version=5 | ||
|
||
[application] | ||
|
||
config/name="Basic 3D Navigation" | ||
config/description="Navigation demo for 3D scenes, with a character | ||
able to pathfind around a static 3D environment. | ||
The navigation path is drawn using a line. | ||
Code is provided for polyline following in 3D." | ||
run/main_scene="res://navmesh.tscn" | ||
config/features=PackedStringArray("4.0") | ||
config/icon="res://icon.png" |
Binary file not shown.
File renamed without changes.
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.