Add plank item

main
copygirl 11 months ago
parent 49d407f624
commit 2eab21e6b6
  1. BIN
      assets/models/plank.blend
  2. 50
      assets/models/plank.blend.import
  3. BIN
      assets/models/plank_0.png
  4. 34
      assets/models/plank_0.png.import
  5. 12
      objects/plank.tscn
  6. 18
      scenes/workshop.tscn

Binary file not shown.

@ -0,0 +1,50 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dh18opmr8mjet"
path="res://.godot/imported/plank.blend-44123370692691aca4e3324e4f1a7696.scn"
[deps]
source_file="res://assets/models/plank.blend"
dest_files=["res://.godot/imported/plank.blend-44123370692691aca4e3324e4f1a7696.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ccucawga3wqg4"
path="res://.godot/imported/plank_0.png-ff59ca3318b73a199bafc43445a897c5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/models/plank_0.png"
dest_files=["res://.godot/imported/plank_0.png-ff59ca3318b73a199bafc43445a897c5.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=0

@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://cujbum8te1r6v"]
[ext_resource type="Script" path="res://objects/Item.cs" id="1_fntdb"]
[ext_resource type="PackedScene" uid="uid://dh18opmr8mjet" path="res://assets/models/plank.blend" id="2_keyw1"]
[node name="Plank" type="RigidBody3D"]
script = ExtResource("1_fntdb")
Size = Vector3i(16, 1, 3)
[node name="Model" parent="." instance=ExtResource("2_keyw1")]
[editable path="Model"]

@ -1,8 +1,9 @@
[gd_scene load_steps=11 format=3 uid="uid://bwfuet1irfi17"] [gd_scene load_steps=12 format=3 uid="uid://bwfuet1irfi17"]
[ext_resource type="PackedScene" uid="uid://yvy5vvaqgxy8" path="res://objects/crate.tscn" id="2_j6a20"] [ext_resource type="PackedScene" uid="uid://yvy5vvaqgxy8" path="res://objects/crate.tscn" id="2_j6a20"]
[ext_resource type="Texture2D" uid="uid://dts3g3ivc4stn" path="res://assets/palettes/metal.png" id="3_kvstu"] [ext_resource type="Texture2D" uid="uid://dts3g3ivc4stn" path="res://assets/palettes/metal.png" id="3_kvstu"]
[ext_resource type="PackedScene" uid="uid://ccprmftodum0o" path="res://objects/nail.tscn" id="4_6l6v6"] [ext_resource type="PackedScene" uid="uid://ccprmftodum0o" path="res://objects/nail.tscn" id="4_6l6v6"]
[ext_resource type="PackedScene" uid="uid://cujbum8te1r6v" path="res://objects/plank.tscn" id="4_kupiv"]
[ext_resource type="PackedScene" uid="uid://bjgfm5x7a0dab" path="res://objects/bolt.tscn" id="5_r6ljd"] [ext_resource type="PackedScene" uid="uid://bjgfm5x7a0dab" path="res://objects/bolt.tscn" id="5_r6ljd"]
[ext_resource type="PackedScene" uid="uid://54575e3ygpxl" path="res://objects/grid.tscn" id="6_okibm"] [ext_resource type="PackedScene" uid="uid://54575e3ygpxl" path="res://objects/grid.tscn" id="6_okibm"]
@ -67,6 +68,9 @@ transform = Transform3D(-1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.7422
[node name="Bolt3" parent="Table/Grid" instance=ExtResource("5_r6ljd")] [node name="Bolt3" parent="Table/Grid" instance=ExtResource("5_r6ljd")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.075, 0.025, 0.3) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.075, 0.025, 0.3)
[node name="Plank" parent="Table/Grid" instance=ExtResource("4_kupiv")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.775, 0.025, -0.05)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Table"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0)
shape = SubResource("BoxShape3D_vkl3b") shape = SubResource("BoxShape3D_vkl3b")
@ -135,3 +139,15 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, 0)
[node name="Crate7" parent="Crates" instance=ExtResource("2_j6a20")] [node name="Crate7" parent="Crates" instance=ExtResource("2_j6a20")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, -4) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, -4)
[node name="Plank" parent="." instance=ExtResource("4_kupiv")]
transform = Transform3D(-0.258819, 0, -0.965926, 0, 1, 0, 0.965926, 0, -0.258819, 1.775, 0.0467873, -4.05)
[node name="Plank2" parent="." instance=ExtResource("4_kupiv")]
transform = Transform3D(-0.25506, 0.169814, -0.951897, -0.0338422, 0.982287, 0.184303, 0.966333, 0.0792227, -0.244795, 1.89731, 0.112917, -4.05)
[node name="Plank3" parent="." instance=ExtResource("4_kupiv")]
transform = Transform3D(0.867391, 0.120474, -0.482823, -0.166746, 0.984526, -0.0538993, 0.468858, 0.12726, 0.874058, 2.18736, 0.136963, -4.05)
[node name="Plank4" parent="." instance=ExtResource("4_kupiv")]
transform = Transform3D(0.716486, 0.0834318, -0.692594, -0.166746, 0.984526, -0.0538993, 0.67738, 0.154105, 0.719311, 2.05036, 0.136963, -3.70527)

Loading…
Cancel
Save