forked from godot-extended-libraries/godot-next
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdemo_3d.tscn
30 lines (23 loc) · 1.1 KB
/
demo_3d.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=5 format=2]
[ext_resource path="res://addons/godot-next/3d/trail_3d.gd" type="Script" id=1]
[ext_resource path="res://demo/scripts/wandering_node_3d.gd" type="Script" id=2]
[ext_resource path="res://addons/godot-next/3d/vector_display_3d.gd" type="Script" id=3]
[ext_resource path="res://demo/scripts/test_vector_display.gd" type="Script" id=4]
[node name="Demo3D" type="Spatial"]
[node name="WanderingNode3D" type="Spatial" parent="."]
script = ExtResource( 2 )
[node name="Trail3D" type="ImmediateGeometry" parent="WanderingNode3D"]
script = ExtResource( 1 )
length = 5.0
max_radius = 0.25
density_lengthwise = 50
density_around = 20
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 2, 8 )
[node name="TestVectorDisplay3D" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0.5 )
script = ExtResource( 4 )
pool_vector3_array = PoolVector3Array( 1, 0, 2, 2, 0, 1 )
[node name="VectorDisplay3D" type="Node" parent="TestVectorDisplay3D"]
script = ExtResource( 3 )
variable_name = "pool_vector3_array"