feat: added car model parts

This commit is contained in:
Sara 2024-05-17 15:08:40 +02:00
parent c7095a5b5d
commit bd9afa2403
15 changed files with 539 additions and 7 deletions

View file

@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bm2mavtmnbaw1"
path="res://.godot/imported/SM_Veh_Hatch_01.fbx-808dd9f7b5a0661a4accdc1ede282614.scn"
path="res://.godot/imported/SM_Veh_Hatch_01.fbx-f698298d283eedf013cb8e7e72de158b.scn"
[deps]
source_file="res://Models/SM_Veh_Hatch_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01.fbx-808dd9f7b5a0661a4accdc1ede282614.scn"]
source_file="res://Models/CarParts/SM_Veh_Hatch_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01.fbx-f698298d283eedf013cb8e7e72de158b.scn"]
[params]

BIN
godot/Models/CarParts/SM_Veh_Hatch_01_Bonnet_01.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bfq7ipx01ag7p"
path="res://.godot/imported/SM_Veh_Hatch_01_Bonnet_01.fbx-e3a1e71c8cdfff7cc7b758275cc31ee8.scn"
[deps]
source_file="res://Models/CarParts/SM_Veh_Hatch_01_Bonnet_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01_Bonnet_01.fbx-e3a1e71c8cdfff7cc7b758275cc31ee8.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

View file

@ -0,0 +1,166 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!43 &43235273969858020
Mesh:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SM_Veh_Hatch_01_Convex 1
serializedVersion: 10
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 180
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 32
localAABB:
m_Center: {x: 0.010388017, y: 0.9386668, z: 0.19267112}
m_Extent: {x: 1.0005203, y: 0.70799994, z: 2.1656578}
m_Shapes:
vertices: []
shapes: []
channels: []
fullWeights: []
m_BindPose: []
m_BoneNameHashes:
m_RootBoneNameHash: 0
m_BonesAABB: []
m_VariableBoneCountWeights:
m_Data:
m_MeshCompression: 0
m_IsReadable: 1
m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 190007001f00090005000b0008000a000d00050009000e00020006000f000b0002000f000d000000100002000b00110006000200120000000d00120010000000120002001100120012000d0013000300060013000600120013000c000a00140004000e0014000100070015000800040016000a000800160004001400160014000a00160007000900170009000b0017000f00070017000b000f0017000c00030018000a000c0018000d000a00180013000d00180003001300180003000c0019001500070019000c0015001900040008001a0008000d001a000d0010001a001a0010001b000e0004001b0005000e001b00100005001b0004001a001b00070001001c00090007001c000e0009001c0014000e001c0014001c001d000c0014001d00010015001d0015000c001d001c0001001d000b0005001e00050010001e0011000b001e00100012001e00120011001e00060003001f000f0006001f0007000f001f00030019001f00
m_VertexData:
serializedVersion: 3
m_VertexCount: 32
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 3
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 384
_typelessdata: f8e66abf90c3633fab86b9bfb59c6b3f4407543f66d1b33ff0c56bbf5c68aa3ec8cdf83f14173c3fd007873e7c09e4bf24021b3f2649d23fdf0d1abf80c536bf1cb5c03f47ad333fdf7848bfd007873e7c09e4bf5810443f51866c3e8b8c0340b55b8fbe2aa6cc3fb97cc3bf14173c3fac85623f6d0d0e40f7e9433f7a41933fe4c0e8bf80c536bfac85623f6d0d0e407265813fde2e3f3f40aec0bfe8f83cbfb15e9b3f23a3e6bfc67d293ff28fc13fbda5eb3e4bd43ebff3336c3e1d9a0340df7848bf6188c93f00e4193e50797dbf987e2d3fbc3ede3f50797dbf0ed81b3f222fdbbfe6ad1ebfd73b1f3fd38afcbffc705f3fb509af3fd48694bfa4c5703f69c5c03e1126863fe6a10b3fe09eca3fb32fb6bf7679c73e66d5503fdcee164066a6233f6d53413fc5f4fbbf59615e3fa926823e1efa5dbf228816bffac5d23ffc2e2bbf7b63a7bc85edd03f00e4193efc705f3f5fe9823fbc3ede3f7265813fef7b623fae240abff0c56bbf5fe9823f3398cc3ff30e19bf942f7f3efb0acabf
m_CompressedMesh:
m_Vertices:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_UV:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Normals:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Tangents:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Weights:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_NormalSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_TangentSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_FloatColors:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_BoneIndices:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_Triangles:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: 0.010388017, y: 0.9386668, z: 0.19267112}
m_Extent: {x: 1.0005203, y: 0.70799994, z: 2.1656578}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:
m_MeshMetrics[0]: 1
m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

View file

@ -0,0 +1,166 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!43 &43015399666782250
Mesh:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SM_Veh_Hatch_01_Convex
serializedVersion: 10
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 84
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 16
localAABB:
m_Center: {x: 0.044959664, y: 0.9367621, z: 0.20059144}
m_Extent: {x: 0.9659487, y: 0.7060952, z: 2.018978}
m_Shapes:
vertices: []
shapes: []
channels: []
fullWeights: []
m_BindPose: []
m_BoneNameHashes:
m_RootBoneNameHash: 0
m_BonesAABB: []
m_VariableBoneCountWeights:
m_Data:
m_MeshCompression: 0
m_IsReadable: 1
m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 09000b000f00000002000500020000000600050004000800070001000900030006000a00080004000a00050002000b00090005000b00070003000c00010007000c0003000a000c000a0004000c00000005000d00060000000d00050008000d000a0006000d0008000a000d00040005000e00090001000e00050009000e0001000c000e000c0004000e00020006000f00060003000f00030007000f00070009000f000b0002000f00
m_VertexData:
serializedVersion: 3
m_VertexCount: 16
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 3
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 192
_typelessdata: f8e66abf90c3633fab86b9bfb59c6b3f4407543f66d1b33ff0c56bbf5c68aa3ec8cdf83f14173c3fd007873e7c09e4bf24021b3f2649d23fdf0d1abf80c536bf1cb5c03f47ad333fdf7848bfd007873e7c09e4bf5810443f51866c3e8b8c0340b55b8fbe2aa6cc3fb97cc3bf14173c3fac85623f6d0d0e40f7e9433f7a41933fe4c0e8bf80c536bfac85623f6d0d0e407265813fde2e3f3f40aec0bfe8f83cbfb15e9b3f23a3e6bfc67d293ff28fc13fbda5eb3e4bd43ebff3336c3e1d9a0340
m_CompressedMesh:
m_Vertices:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_UV:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Normals:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Tangents:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_Weights:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_NormalSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_TangentSigns:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_FloatColors:
m_NumItems: 0
m_Range: 0
m_Start: 0
m_Data:
m_BitSize: 0
m_BoneIndices:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_Triangles:
m_NumItems: 0
m_Data:
m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: 0.044959664, y: 0.9367621, z: 0.20059144}
m_Extent: {x: 0.9659487, y: 0.7060952, z: 2.018978}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:
m_MeshMetrics[0]: 1
m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

BIN
godot/Models/CarParts/SM_Veh_Hatch_01_Fenders_02.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://6qwqncti3xr2"
path="res://.godot/imported/SM_Veh_Hatch_01_Fenders_02.fbx-29fbd52b560f06986a4a40c47500e731.scn"
[deps]
source_file="res://Models/CarParts/SM_Veh_Hatch_01_Fenders_02.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01_Fenders_02.fbx-29fbd52b560f06986a4a40c47500e731.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

BIN
godot/Models/CarParts/SM_Veh_Hatch_01_Front_Bumper_01.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://ci63le6giakt1"
path="res://.godot/imported/SM_Veh_Hatch_01_Front_Bumper_01.fbx-94f64649b5fefc7a13f79a9d212038b1.scn"
[deps]
source_file="res://Models/CarParts/SM_Veh_Hatch_01_Front_Bumper_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01_Front_Bumper_01.fbx-94f64649b5fefc7a13f79a9d212038b1.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

BIN
godot/Models/CarParts/SM_Veh_Hatch_01_Light_Covers_01.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://buhilfnxfvnor"
path="res://.godot/imported/SM_Veh_Hatch_01_Light_Covers_01.fbx-a39a5e88152d212f22007c07ab79e0d9.scn"
[deps]
source_file="res://Models/CarParts/SM_Veh_Hatch_01_Light_Covers_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01_Light_Covers_01.fbx-a39a5e88152d212f22007c07ab79e0d9.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

BIN
godot/Models/CarParts/SM_Veh_Hatch_01_Rear_Bumper_01.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bapool371ad5g"
path="res://.godot/imported/SM_Veh_Hatch_01_Rear_Bumper_01.fbx-2efe1ab2666e17b946598a52180489c6.scn"
[deps]
source_file="res://Models/CarParts/SM_Veh_Hatch_01_Rear_Bumper_01.fbx"
dest_files=["res://.godot/imported/SM_Veh_Hatch_01_Rear_Bumper_01.fbx-2efe1ab2666e17b946598a52180489c6.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

View file

@ -1,6 +1,11 @@
[gd_scene load_steps=8 format=3 uid="uid://dkvgi7x2epurk"]
[gd_scene load_steps=13 format=3 uid="uid://dkvgi7x2epurk"]
[ext_resource type="PackedScene" uid="uid://bm2mavtmnbaw1" path="res://Models/SM_Veh_Hatch_01.fbx" id="1_22x2m"]
[ext_resource type="PackedScene" uid="uid://bm2mavtmnbaw1" path="res://Models/CarParts/SM_Veh_Hatch_01.fbx" id="1_tymeg"]
[ext_resource type="PackedScene" uid="uid://bfq7ipx01ag7p" path="res://Models/CarParts/SM_Veh_Hatch_01_Bonnet_01.fbx" id="2_l8ox5"]
[ext_resource type="PackedScene" uid="uid://ci63le6giakt1" path="res://Models/CarParts/SM_Veh_Hatch_01_Front_Bumper_01.fbx" id="3_8ayy1"]
[ext_resource type="PackedScene" uid="uid://buhilfnxfvnor" path="res://Models/CarParts/SM_Veh_Hatch_01_Light_Covers_01.fbx" id="4_ebbck"]
[ext_resource type="PackedScene" uid="uid://bapool371ad5g" path="res://Models/CarParts/SM_Veh_Hatch_01_Rear_Bumper_01.fbx" id="5_v2arc"]
[ext_resource type="PackedScene" uid="uid://6qwqncti3xr2" path="res://Models/CarParts/SM_Veh_Hatch_01_Fenders_02.fbx" id="6_xu64x"]
[sub_resource type="Curve" id="Curve_dpk6q"]
_data = [Vector2(0.962441, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
@ -39,7 +44,7 @@ max_contacts_reported = 128
contact_monitor = true
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-1, -1.1349e-08, -8.6683e-08, -2.87879e-08, 0.978985, 0.203932, 8.25469e-08, 0.203932, -0.978985, -2.84217e-14, 2.56194, -4.10697)
transform = Transform3D(-1, -1.1349e-08, -8.6683e-08, -2.87879e-08, 0.978985, 0.203932, 8.25469e-08, 0.203932, -0.978985, -1.7053e-13, 3.01073, -7.34415)
[node name="Body" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.687824, 0.174572)
@ -61,5 +66,15 @@ shape = SubResource("CapsuleShape3D_p38n5")
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0.156071, -1.52522)
shape = SubResource("CapsuleShape3D_p38n5")
[node name="Mesh" parent="." instance=ExtResource("1_22x2m")]
[node name="Mesh" parent="." instance=ExtResource("1_tymeg")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.372761, 0)
[node name="Root Scene" parent="Mesh" instance=ExtResource("2_l8ox5")]
[node name="Root Scene2" parent="Mesh" instance=ExtResource("3_8ayy1")]
[node name="Root Scene3" parent="Mesh" instance=ExtResource("4_ebbck")]
[node name="Root Scene4" parent="Mesh" instance=ExtResource("5_v2arc")]
[node name="Root Scene5" parent="Mesh" instance=ExtResource("6_xu64x")]