interaction base

This commit is contained in:
Rendo 2025-11-14 12:52:41 +05:00
commit 2f559639fb
21 changed files with 134 additions and 49 deletions

View file

@ -1,12 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://q1y0r2rn0qb4"]
[gd_scene load_steps=5 format=3 uid="uid://q1y0r2rn0qb4"]
[ext_resource type="Script" uid="uid://mjx50qh1bwv3" path="res://src/interactible/interaction_reciever.gd" id="1_auicg"]
[ext_resource type="Material" uid="uid://64m17act0kwu" path="res://assets/materials/mat_glass.tres" id="2_mqqtq"]
[sub_resource type="CylinderMesh" id="CylinderMesh_nql6a"]
material = ExtResource("2_mqqtq")
height = 0.75
rings = 0
cap_top = false
[sub_resource type="CylinderShape3D" id="CylinderShape3D_auicg"]
height = 1.0
height = 0.7128906
radius = 0.75
[node name="InteractibleObject" type="Area3D"]
@ -19,5 +23,5 @@ script = ExtResource("1_auicg")
mesh = SubResource("CylinderMesh_nql6a")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5867026, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7302573, 0)
shape = SubResource("CylinderShape3D_auicg")