Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://csbtt12ohhvec"
|
||||
path="res://.godot/imported/GreenCross.png-b5034275917e7ca54defd741c65ef7ee.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/2D/GreenCross.png"
|
||||
dest_files=["res://.godot/imported/GreenCross.png-b5034275917e7ca54defd741c65ef7ee.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
|
||||
@@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://wo0ikejk0hag"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dkss4o54xymwj" path="res://Maps/Spaceship/Objects/Grabable/GrabableObject.gd" id="1_jgf10"]
|
||||
[ext_resource type="Script" uid="uid://cmo8m6v4wlw2y" path="res://Maps/Spaceship/Objects/Grabable/GrabBox.gd" id="2_yocvc"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_61j30"]
|
||||
size = Vector3(0.5, 0.5, 0.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qey0m"]
|
||||
size = Vector3(0.5, 0.5, 0.5)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_4unh8"]
|
||||
size = Vector3(0.5, 0.5, 0.5)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_utenr"]
|
||||
albedo_color = Color(0.111197, 0.111197, 0.111197, 1)
|
||||
metallic = 1.0
|
||||
roughness = 0.3
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_yocvc"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 1
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 1
|
||||
|
||||
[node name="RepairCube" type="RigidBody3D" node_paths=PackedStringArray("grabBox")]
|
||||
script = ExtResource("1_jgf10")
|
||||
grabBox = NodePath("GrabBox")
|
||||
throwingForce = 2.0
|
||||
metadata/_custom_type_script = "uid://dkss4o54xymwj"
|
||||
|
||||
[node name="GrabBox" type="Area3D" parent="." node_paths=PackedStringArray("obj")]
|
||||
script = ExtResource("2_yocvc")
|
||||
obj = NodePath("..")
|
||||
type = "RepairCube"
|
||||
heavy = true
|
||||
metadata/_custom_type_script = "uid://cmo8m6v4wlw2y"
|
||||
|
||||
[node name="GrabShape" type="CollisionShape3D" parent="GrabBox"]
|
||||
shape = SubResource("BoxShape3D_61j30")
|
||||
debug_fill = false
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_qey0m")
|
||||
debug_fill = false
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_4unh8")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_utenr")
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_yocvc")
|
||||
Reference in New Issue
Block a user