From 3e2329c3b91fd32f9dca4bad682a0f0efa035cb4 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 30 Jan 2024 22:02:38 +0100 Subject: [PATCH] Added player base model --- client/player/Player.tscn | 9 ++-- client/player/model/FemaleBase.blend.import | 50 +++++++++++++++++++++ 2 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 client/player/model/FemaleBase.blend.import diff --git a/client/player/Player.tscn b/client/player/Player.tscn index b993a27..1f2c038 100644 --- a/client/player/Player.tscn +++ b/client/player/Player.tscn @@ -1,11 +1,9 @@ [gd_scene load_steps=5 format=3 uid="uid://2lcnu3dy54lx"] [ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"] +[ext_resource type="PackedScene" uid="uid://dglu2uaewno0p" path="res://player/model/FemaleBase.blend" id="2_24ena"] [ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_np5ag"] -[sub_resource type="PrismMesh" id="PrismMesh_y7abh"] -size = Vector3(0.5, 1.6, 0.5) - [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"] radius = 0.25 height = 1.6 @@ -16,9 +14,8 @@ model = NodePath("Model") [node name="Model" type="Node3D" parent="."] -[node name="MeshInstance3D" type="MeshInstance3D" parent="Model"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0) -mesh = SubResource("PrismMesh_y7abh") +[node name="FemaleBase" parent="Model" instance=ExtResource("2_24ena")] +transform = Transform3D(0.33, 0, 0, 0, 0.33, 0, 0, 0, 0.33, 0, 0, 0) [node name="Collision" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0) diff --git a/client/player/model/FemaleBase.blend.import b/client/player/model/FemaleBase.blend.import new file mode 100644 index 0000000..1918dc5 --- /dev/null +++ b/client/player/model/FemaleBase.blend.import @@ -0,0 +1,50 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://dglu2uaewno0p" +path="res://.godot/imported/FemaleBase.blend-ffb0211788dfb291cbc8516269a785f5.scn" + +[deps] + +source_file="res://player/model/FemaleBase.blend" +dest_files=["res://.godot/imported/FemaleBase.blend-ffb0211788dfb291cbc8516269a785f5.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +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 +import_script/path="" +_subresources={} +gltf/naming_version=1 +gltf/embedded_image_handling=1 +blender/nodes/visible=0 +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