Added Interact system with a raycast
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://61lt10ktv534"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bihywi2gve5j0" path="res://Assets/Models/LightPost.fbx" id="1_ksctp"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3doutiwh4shy" path="res://Blender Files/LightPost.blend" id="1_n4j6v"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_o8c43"]
|
||||
height = 5.65653
|
||||
@ -8,8 +8,12 @@ radius = 0.473027
|
||||
|
||||
[node name="Lamp Post" type="StaticBody3D"]
|
||||
|
||||
[node name="Root Scene" parent="." instance=ExtResource("1_ksctp")]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00153413, 2.85853, -0.00286096)
|
||||
shape = SubResource("CylinderShape3D_o8c43")
|
||||
|
||||
[node name="LightPost" parent="." instance=ExtResource("1_n4j6v")]
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="LightPost"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.66802, 0)
|
||||
omni_range = 8.60491
|
||||
|
||||
Reference in New Issue
Block a user