mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 19:15:55 +00:00
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
|
|
[gd_scene load_steps=6 format=3 uid="uid://brqivkckug8uc"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://cmgcelj1qxg8o" path="res://addons/tattomoosa.vision_cone_3d/src/VisionCone3D.gd" id="1_t4wly"]
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_td2ym"]
|
||
|
|
|
||
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ecabg"]
|
||
|
|
albedo_color = Color(1, 0.635294, 1, 1)
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5i4ah"]
|
||
|
|
material = SubResource("StandardMaterial3D_ecabg")
|
||
|
|
radius = 0.25
|
||
|
|
height = 0.75
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_cf0b5"]
|
||
|
|
|
||
|
|
[node name="Observer" type="CharacterBody3D"]
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="VisionCone3D" type="Area3D" parent="." node_paths=PackedStringArray("vision_test_ignore_bodies")]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.41062, -0.023833)
|
||
|
|
script = ExtResource("1_t4wly")
|
||
|
|
debug_draw = true
|
||
|
|
vision_test_ignore_bodies = [NodePath("..")]
|
||
|
|
|
||
|
|
[node name="Body" type="MeshInstance3D" parent="."]
|
||
|
|
mesh = SubResource("CapsuleMesh_td2ym")
|
||
|
|
|
||
|
|
[node name="Face" type="MeshInstance3D" parent="Body"]
|
||
|
|
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0.386695, -0.364832)
|
||
|
|
mesh = SubResource("CapsuleMesh_5i4ah")
|
||
|
|
|
||
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
|
shape = SubResource("CapsuleShape3D_cf0b5")
|