mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 11:51:17 +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
26
addons/tattomoosa.vision_cone_3d/examples/minimal.tscn
Normal file
26
addons/tattomoosa.vision_cone_3d/examples/minimal.tscn
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://doqrupj5l86sr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cmgcelj1qxg8o" path="res://addons/tattomoosa.vision_cone_3d/src/VisionCone3D.gd" id="1_78jke"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_si8ep"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_bebrf"]
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
|
||||
[node name="VisionCone3D" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.00271)
|
||||
script = ExtResource("1_78jke")
|
||||
debug_draw = true
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.66644)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
||||
mesh = SubResource("BoxMesh_si8ep")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_bebrf")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 8.38814, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue