mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 21:53:48 +00:00
3D Cameras with sweep and animation
This commit is contained in:
parent
4cc7a0c004
commit
7e76edc153
48 changed files with 3211 additions and 1511 deletions
|
|
@ -0,0 +1,34 @@
|
|||
[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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue