stuff
This commit is contained in:
24
prefabs/box.tscn
Normal file
24
prefabs/box.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ch5futrap650a"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/interactable.gd" id="1_n5lwj"]
|
||||
[ext_resource type="Material" uid="uid://db6w5h7nkrh" path="res://materials/highlight.tres" id="2_ho87k"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gru1n"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0fl8j"]
|
||||
albedo_color = Color(0.027451, 0.0784314, 0.203922, 1)
|
||||
|
||||
[node name="Box" type="RigidBody3D" node_paths=PackedStringArray("visual_mesh")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.68274, 0.831629, 0)
|
||||
freeze_mode = 1
|
||||
script = ExtResource("1_n5lwj")
|
||||
action_label = "Pick up hexahedron"
|
||||
can_be_picked_up = true
|
||||
visual_mesh = NodePath("CSGBox3D")
|
||||
highlight_material = ExtResource("2_ho87k")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_gru1n")
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="."]
|
||||
material = SubResource("StandardMaterial3D_0fl8j")
|
||||
Reference in New Issue
Block a user