WIP: Start adding model
WIP: Start adding model
This commit is contained in:
parent
34e019f40a
commit
0be2c58223
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -4,3 +4,5 @@
|
||||
assets filter=lfs diff=lfs merge=lfs -text
|
||||
assets/models filter=lfs diff=lfs merge=lfs -text
|
||||
assets/sounds filter=lfs diff=lfs merge=lfs -text
|
||||
resources filter=lfs diff=lfs merge=lfs -text
|
||||
resources/blender filter=lfs diff=lfs merge=lfs -text
|
||||
|
BIN
assets/models/character/character.glb
Normal file
BIN
assets/models/character/character.glb
Normal file
Binary file not shown.
36
assets/models/character/character.glb.import
Normal file
36
assets/models/character/character.glb.import
Normal file
@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dxjboibv5umwp"
|
||||
path="res://.godot/imported/character.glb-dd4ea7e677566e53b63833cf4cec6b59.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character.glb"
|
||||
dest_files=["res://.godot/imported/character.glb-dd4ea7e677566e53b63833cf4cec6b59.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
BIN
assets/models/character/character_Ch02_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://pnn1k0p5jpfi"
|
||||
path.s3tc="res://.godot/imported/character_Ch02_1001_Diffuse.png-707487459f39924eb924c8371b9680dd.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "06ae86b04070040bebfc1ac7cd4daae2"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1001_Diffuse.png-707487459f39924eb924c8371b9680dd.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
BIN
assets/models/character/character_Ch02_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d27lkxg04bn0q"
|
||||
path.s3tc="res://.godot/imported/character_Ch02_1001_Glossiness.png-63e580e8cccdb52230c8a4cbcf0a0642.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "04991c19c77019b5ba4d4549768d54a8"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1001_Glossiness.png-63e580e8cccdb52230c8a4cbcf0a0642.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
BIN
assets/models/character/character_Ch02_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cp1bdlyicev16"
|
||||
path.s3tc="res://.godot/imported/character_Ch02_1001_Normal.png-e2440cf34acd8af9900038aa2d22a52c.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "f5d8b6e769b0e1f79e3ced96b4b8a169"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1001_Normal.png-e2440cf34acd8af9900038aa2d22a52c.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://assets/models/character/character_Ch02_1001_Normal.png"
|
||||
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=0
|
BIN
assets/models/character/character_Ch02_1001_Specular.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1001_Specular.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dc2av5yv6vsp5"
|
||||
path="res://.godot/imported/character_Ch02_1001_Specular.png-ecbed91c47cdbf7acdcbcfa1e7c2c3c1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "cc54f89ab2f803775b259523df174726"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1001_Specular.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1001_Specular.png-ecbed91c47cdbf7acdcbcfa1e7c2c3c1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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
|
BIN
assets/models/character/character_Ch02_1002_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1002_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c23bvwayx8ccx"
|
||||
path.s3tc="res://.godot/imported/character_Ch02_1002_Diffuse.png-8643a80db54d318370df1c002f2b3867.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "13a493cfe90c0a7fc31d835aa1c37ff6"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1002_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1002_Diffuse.png-8643a80db54d318370df1c002f2b3867.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
BIN
assets/models/character/character_Ch02_1002_Normal.png
(Stored with Git LFS)
Normal file
BIN
assets/models/character/character_Ch02_1002_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://hn1dvyo4cwgk"
|
||||
path.s3tc="res://.godot/imported/character_Ch02_1002_Normal.png-826a15a0b74c9f75c7625cde762659a3.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "994a6af3fcc3508f8e8f93dc1795f55a"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/character/character_Ch02_1002_Normal.png"
|
||||
dest_files=["res://.godot/imported/character_Ch02_1002_Normal.png-826a15a0b74c9f75c7625cde762659a3.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://assets/models/character/character_Ch02_1002_Normal.png"
|
||||
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=0
|
BIN
resources/blender/character.blend
Normal file
BIN
resources/blender/character.blend
Normal file
Binary file not shown.
51
resources/blender/character.blend.import
Normal file
51
resources/blender/character.blend.import
Normal file
@ -0,0 +1,51 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b7jr8xbo2f8n7"
|
||||
path="res://.godot/imported/character.blend-a7059734a074b915b956c89a68d7cabe.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/character.blend"
|
||||
dest_files=["res://.godot/imported/character.blend-a7059734a074b915b956c89a68d7cabe.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
BIN
resources/blender/textures/Ch02_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1001_Diffuse.png.import
Normal file
34
resources/blender/textures/Ch02_1001_Diffuse.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b8pyp1wrao7g8"
|
||||
path="res://.godot/imported/Ch02_1001_Diffuse.png-be8443a66fcdba335ccc626d3ee507e2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1001_Diffuse.png-be8443a66fcdba335ccc626d3ee507e2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
BIN
resources/blender/textures/Ch02_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1001_Glossiness.png.import
Normal file
34
resources/blender/textures/Ch02_1001_Glossiness.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dcyhsg2exug4j"
|
||||
path="res://.godot/imported/Ch02_1001_Glossiness.png-311a15692f16ebafd2971310794de848.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1001_Glossiness.png-311a15692f16ebafd2971310794de848.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
BIN
resources/blender/textures/Ch02_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1001_Normal.png.import
Normal file
34
resources/blender/textures/Ch02_1001_Normal.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cigrjs1blf1pf"
|
||||
path="res://.godot/imported/Ch02_1001_Normal.png-f49aa32435644d57263d5929c7eb6574.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1001_Normal.png-f49aa32435644d57263d5929c7eb6574.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
BIN
resources/blender/textures/Ch02_1001_Specular.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1001_Specular.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1001_Specular.png.import
Normal file
34
resources/blender/textures/Ch02_1001_Specular.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxsbcvluu2y53"
|
||||
path="res://.godot/imported/Ch02_1001_Specular.png-36dc219fa19eab0b9fdec99081d229f9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1001_Specular.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1001_Specular.png-36dc219fa19eab0b9fdec99081d229f9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
BIN
resources/blender/textures/Ch02_1002_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1002_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1002_Diffuse.png.import
Normal file
34
resources/blender/textures/Ch02_1002_Diffuse.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yojjaplgldct"
|
||||
path="res://.godot/imported/Ch02_1002_Diffuse.png-dd63e4bfbae61671584ae5f9722ea551.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1002_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1002_Diffuse.png-dd63e4bfbae61671584ae5f9722ea551.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
BIN
resources/blender/textures/Ch02_1002_Normal.png
(Stored with Git LFS)
Normal file
BIN
resources/blender/textures/Ch02_1002_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
resources/blender/textures/Ch02_1002_Normal.png.import
Normal file
34
resources/blender/textures/Ch02_1002_Normal.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d02x1naqnuxtd"
|
||||
path="res://.godot/imported/Ch02_1002_Normal.png-5866a749dfca963f00bf1a6997545b7c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/blender/textures/Ch02_1002_Normal.png"
|
||||
dest_files=["res://.godot/imported/Ch02_1002_Normal.png-5866a749dfca963f00bf1a6997545b7c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
102
scenes/utils/body.tscn
Normal file
102
scenes/utils/body.tscn
Normal file
@ -0,0 +1,102 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ceywbkneyatpw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dxjboibv5umwp" path="res://assets/models/character/character.glb" id="1_ldvdo"]
|
||||
|
||||
[node name="character" instance=ExtResource("1_ldvdo")]
|
||||
|
||||
[node name="Skeleton3D" parent="Armature" index="0"]
|
||||
bones/0/position = Vector3(0.278639, 0.0511704, -94.5392)
|
||||
bones/0/rotation = Quaternion(-0.604149, -0.348807, 0.29163, 0.654439)
|
||||
bones/1/rotation = Quaternion(-0.0341781, 0.0566953, 0.0240948, 0.997515)
|
||||
bones/2/rotation = Quaternion(0.0232735, 0.0685229, 0.00601569, 0.99736)
|
||||
bones/3/rotation = Quaternion(0.0239388, 0.0686277, 0.00447139, 0.997345)
|
||||
bones/4/rotation = Quaternion(0.160264, 0.0650182, -0.0283947, 0.984521)
|
||||
bones/5/rotation = Quaternion(0.00615673, 0.173887, 0.0695452, 0.982288)
|
||||
bones/7/rotation = Quaternion(-0.573553, -0.410703, 0.634322, -0.316221)
|
||||
bones/8/position = Vector3(-5.17998e-07, 12.6417, 7.24198e-06)
|
||||
bones/8/rotation = Quaternion(0.172527, -0.218225, 0.436503, 0.855615)
|
||||
bones/9/position = Vector3(5.25072e-07, 21.8647, -1.64733e-06)
|
||||
bones/9/rotation = Quaternion(0.0784446, -0.00225518, 0.650572, 0.755379)
|
||||
bones/10/position = Vector3(-6.68945e-06, 25.0647, 1.19204e-06)
|
||||
bones/10/rotation = Quaternion(-0.166441, -0.334552, -0.373809, 0.848905)
|
||||
bones/11/rotation = Quaternion(0.0956501, -0.0429417, 0.168576, 0.980097)
|
||||
bones/12/position = Vector3(-0.347165, 3.29954, -8.22866e-06)
|
||||
bones/12/rotation = Quaternion(-0.0984275, 0.0713401, 0.117913, 0.985555)
|
||||
bones/13/position = Vector3(0.410877, 3.32378, 6.80089e-06)
|
||||
bones/13/rotation = Quaternion(-0.0316813, 0.0203845, 0.14611, 0.988551)
|
||||
bones/14/position = Vector3(-0.0637035, 2.82069, -2.79248e-05)
|
||||
bones/15/position = Vector3(-3.18417, 9.19059, 0.0928621)
|
||||
bones/15/rotation = Quaternion(0.259408, 0.000923331, 0.03495, 0.965135)
|
||||
bones/16/position = Vector3(-0.0111496, 3.04017, 1.97763e-06)
|
||||
bones/16/rotation = Quaternion(0.5136, 0.000858785, -0.035911, 0.857278)
|
||||
bones/17/position = Vector3(0.000624061, 2.89652, 1.03269e-05)
|
||||
bones/17/rotation = Quaternion(0.207564, -0.000416576, -0.0132767, 0.978131)
|
||||
bones/18/position = Vector3(0.0105192, 2.56021, 2.20537e-05)
|
||||
bones/19/position = Vector3(-0.955101, 9.47556, -0.253679)
|
||||
bones/19/rotation = Quaternion(0.342569, -0.00821127, 0.050494, 0.938099)
|
||||
bones/20/position = Vector3(-0.00172836, 3.39762, 6.92725e-06)
|
||||
bones/20/rotation = Quaternion(0.50153, -0.000192444, -0.0367875, 0.864358)
|
||||
bones/21/position = Vector3(0.00409269, 3.19824, 4.93312e-07)
|
||||
bones/21/rotation = Quaternion(0.335944, -8.39514e-05, -0.0261373, 0.941519)
|
||||
bones/22/position = Vector3(-0.00237793, 2.99991, 9.83477e-06)
|
||||
bones/23/position = Vector3(1.01976, 9.84634, -0.193835)
|
||||
bones/23/rotation = Quaternion(0.409699, -0.0244552, 0.0804267, 0.908339)
|
||||
bones/24/position = Vector3(-0.0118652, 3.04989, 1.77043e-06)
|
||||
bones/24/rotation = Quaternion(0.509526, 0.000396417, -0.0340288, 0.859782)
|
||||
bones/25/position = Vector3(0.00632149, 2.85057, -3.69064e-06)
|
||||
bones/25/rotation = Quaternion(0.173468, -0.000380233, -0.0125006, 0.98476)
|
||||
bones/26/position = Vector3(0.00549984, 2.53632, -6.19888e-06)
|
||||
bones/27/rotation = Quaternion(0.311367, -0.0292845, 0.133976, 0.940342)
|
||||
bones/28/position = Vector3(-0.00902244, 2.81508, -2.19431e-06)
|
||||
bones/28/rotation = Quaternion(0.492928, 0.00128819, -0.0329787, 0.869444)
|
||||
bones/29/position = Vector3(-0.00492001, 2.3477, 1.43756e-06)
|
||||
bones/29/rotation = Quaternion(0.273847, -0.000518838, -0.0143469, 0.961666)
|
||||
bones/30/position = Vector3(0.0139517, 2.09557, -1.09673e-05)
|
||||
bones/31/rotation = Quaternion(0.494488, -0.36288, 0.60222, 0.511009)
|
||||
bones/32/position = Vector3(4.22225e-06, 12.6416, -1.10171e-05)
|
||||
bones/32/rotation = Quaternion(0.37955, 0.030041, -0.743407, 0.549896)
|
||||
bones/33/position = Vector3(-5.33444e-06, 21.8736, 5.47588e-06)
|
||||
bones/33/rotation = Quaternion(0.0292596, 0.00337506, -0.249351, 0.967965)
|
||||
bones/34/position = Vector3(7.18826e-06, 25.0758, -4.14478e-06)
|
||||
bones/34/rotation = Quaternion(-0.195169, 0.329259, 0.200115, 0.901916)
|
||||
bones/35/rotation = Quaternion(0.296356, -0.111756, -0.179233, 0.931429)
|
||||
bones/36/position = Vector3(0.456064, 3.20386, -8.12512e-06)
|
||||
bones/36/rotation = Quaternion(-0.0614832, -0.184996, 0.128837, 0.972315)
|
||||
bones/37/position = Vector3(-0.244571, 3.32856, -1.36769e-05)
|
||||
bones/37/rotation = Quaternion(-0.158524, -0.0307899, 0.465163, 0.870371)
|
||||
bones/38/position = Vector3(-0.211511, 3.05178, -1.10865e-05)
|
||||
bones/39/position = Vector3(3.12053, 9.18468, 0.0421683)
|
||||
bones/39/rotation = Quaternion(0.204655, -0.00671871, -0.018747, 0.978632)
|
||||
bones/40/position = Vector3(-0.00222988, 3.1519, 9.17081e-06)
|
||||
bones/40/rotation = Quaternion(0.421442, 0.00103411, 0.0148947, 0.906733)
|
||||
bones/41/position = Vector3(-0.0128262, 2.89937, 1.74316e-06)
|
||||
bones/41/rotation = Quaternion(0.432079, -0.000288449, 0.0214826, 0.90158)
|
||||
bones/42/position = Vector3(0.0150719, 2.69096, 2.13236e-05)
|
||||
bones/43/position = Vector3(0.930105, 9.47023, -0.320952)
|
||||
bones/43/rotation = Quaternion(0.418293, -0.0532811, 0.0815441, 0.903074)
|
||||
bones/44/position = Vector3(-0.000950336, 3.40719, 1.28055e-05)
|
||||
bones/44/rotation = Quaternion(0.827156, 0.000328466, 0.0351444, 0.560872)
|
||||
bones/45/rotation = Quaternion(0.163151, -2.80439e-05, 0.00763214, 0.986572)
|
||||
bones/46/position = Vector3(0.00259387, 3.02687, 6.4373e-06)
|
||||
bones/47/position = Vector3(-0.989343, 9.67951, 0.0239833)
|
||||
bones/47/rotation = Quaternion(0.465976, -0.0287381, 0.0115431, 0.884255)
|
||||
bones/48/position = Vector3(0.0445154, 3.01189, -1.12322e-06)
|
||||
bones/48/rotation = Quaternion(0.755862, -0.00557906, 0.0184576, 0.654447)
|
||||
bones/49/position = Vector3(0.00265485, 2.88887, 2.71164e-06)
|
||||
bones/49/rotation = Quaternion(0.418283, 0.00289807, 0.00376654, 0.908304)
|
||||
bones/50/position = Vector3(-0.0471536, 2.55138, -1.09673e-05)
|
||||
bones/51/position = Vector3(-3.06127, 8.97437, 0.211041)
|
||||
bones/51/rotation = Quaternion(0.478424, -0.00936341, -0.0220554, 0.877802)
|
||||
bones/52/position = Vector3(0.0111583, 2.80333, 8.22487e-06)
|
||||
bones/52/rotation = Quaternion(0.585571, -0.00241607, 0.0190579, 0.810394)
|
||||
bones/53/position = Vector3(0.0101426, 2.38341, 9.88739e-06)
|
||||
bones/53/rotation = Quaternion(0.436353, 0.00101625, 0.00774158, 0.899742)
|
||||
bones/54/position = Vector3(-0.0213175, 2.19929, 1.97887e-05)
|
||||
bones/55/rotation = Quaternion(0.126585, 0.224655, 0.950727, -0.17212)
|
||||
bones/56/rotation = Quaternion(-0.243968, -0.0859721, -0.00367415, 0.965958)
|
||||
bones/57/rotation = Quaternion(0.435122, -0.0653113, -0.00439505, 0.897989)
|
||||
bones/58/rotation = Quaternion(0.351876, -0.0232251, 0.00873377, 0.935718)
|
||||
bones/60/rotation = Quaternion(-0.124929, 0.0737928, 0.986052, 0.0815444)
|
||||
bones/61/rotation = Quaternion(-0.156002, -0.0709137, 0.0190795, 0.985023)
|
||||
bones/62/rotation = Quaternion(0.496513, 0.112741, 0.0299064, 0.860157)
|
||||
bones/63/rotation = Quaternion(0.352338, 0.0234385, -0.00882726, 0.935538)
|
@ -1,11 +1,8 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ccm77j5rkh21w"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ccm77j5rkh21w"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/character_controller.gd" id="1_sue4n"]
|
||||
[ext_resource type="PackedScene" uid="uid://ceywbkneyatpw" path="res://scenes/utils/body.tscn" id="2_2couv"]
|
||||
[ext_resource type="PackedScene" uid="uid://d21giy40pnjhe" path="res://scenes/weapon/pistol.tscn" id="2_blr4e"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1nfjip21kjpu" path="res://addons/kenney_prototype_textures/orange/texture_13.png" id="2_i60ip"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m6bjf"]
|
||||
albedo_texture = ExtResource("2_i60ip")
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1sre5"]
|
||||
|
||||
@ -14,22 +11,22 @@ albedo_texture = ExtResource("2_i60ip")
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
||||
script = ExtResource("1_sue4n")
|
||||
|
||||
[node name="Body" type="CSGCylinder3D" parent="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.975222, 0)
|
||||
material_override = SubResource("StandardMaterial3D_m6bjf")
|
||||
|
||||
[node name="UpperTorso" type="CSGSphere3D" parent="CharacterBody3D/Body"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.298181, 0)
|
||||
|
||||
[node name="CameraMount" type="Node3D" parent="CharacterBody3D/Body/UpperTorso"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.999971, 0.00759248, 0, -0.00759248, 0.999971, 0, 0.212444, 0)
|
||||
|
||||
[node name="Camera" type="Camera3D" parent="CharacterBody3D/Body/UpperTorso/CameraMount"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, -4.65661e-10, 0, 0, 1, 0, 0.0051769, -0.68182)
|
||||
|
||||
[node name="Pistol" parent="CharacterBody3D/Body/UpperTorso" instance=ExtResource("2_blr4e")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0.26718, -0.000199199, -0.945376)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.981342, 0)
|
||||
shape = SubResource("CylinderShape3D_1sre5")
|
||||
|
||||
[node name="character" parent="CharacterBody3D" instance=ExtResource("2_2couv")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
|
||||
|
||||
[node name="UpperTorso" type="CSGSphere3D" parent="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2734, 0)
|
||||
radius = 0.001
|
||||
|
||||
[node name="CameraMount" type="Node3D" parent="CharacterBody3D/UpperTorso"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.236781, 0.381951)
|
||||
|
||||
[node name="Camera" type="Camera3D" parent="CharacterBody3D/UpperTorso/CameraMount"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, -4.65661e-10, 0, 0, 1, 0, 0.0051769, -0.68182)
|
||||
|
||||
[node name="Pistol" parent="CharacterBody3D/UpperTorso" instance=ExtResource("2_blr4e")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0.0372534, 0.13185, -0.486869)
|
||||
|
@ -22,7 +22,7 @@ var walk_vel: Vector3 # Walking velocity
|
||||
var grav_vel: Vector3 # Gravity velocity
|
||||
var jump_vel: Vector3 # Jumping velocity
|
||||
|
||||
@onready var camera: Node3D = $Body/UpperTorso
|
||||
@onready var camera: Node3D = $UpperTorso
|
||||
@onready var character: Node3D = $"."
|
||||
|
||||
func _ready() -> void:
|
||||
@ -68,6 +68,8 @@ func _walk(delta: float) -> Vector3:
|
||||
var _forward: Vector3 = camera.global_transform.basis * Vector3(move_dir.x, 0, move_dir.y)
|
||||
var walk_dir: Vector3 = Vector3(_forward.x, 0, _forward.z).normalized()
|
||||
walk_vel = walk_vel.move_toward(walk_dir * speed * move_dir.length(), acceleration * delta)
|
||||
var body := $character
|
||||
|
||||
return walk_vel
|
||||
|
||||
func _gravity(delta: float) -> Vector3:
|
||||
|
Loading…
x
Reference in New Issue
Block a user