-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBoidNode3D.tscn
35 lines (31 loc) · 1.03 KB
/
BoidNode3D.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
31
32
33
34
35
[gd_scene load_steps=4 format=2]
[ext_resource path="res://BoidNode.gd" type="Script" id=1]
[ext_resource path="res://materials/BoidNode3DTrailParticleMaterial.tres" type="Material" id=2]
[ext_resource path="res://BoidNode3D.gd" type="Script" id=3]
[node name="Spatial" type="Spatial"]
script = ExtResource( 3 )
[node name="BoidNode3D" type="Spatial" parent="."]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
script = ExtResource( 1 )
debugMode = true
window_width = 2.0
forward_depth = 8.0
z_offset = -300.0
numBoids = 60
flyTowardsCenterFactor = 0.001
avoidOthersMinDistance = 6.0
avoidOthersFactor = 0.02
matchVelocityFactor = 0.01
speedLimit = 0.8
mouseInteractionsEnabled = true
flyTowardsMouseFactor = 0.02
flyTowardsMouseVisualRange = 50.0
avoidMouseMinDistance = 20.0
avoidMouseFactor = 0.02
trailMaterial = ExtResource( 2 )
boidHistoryLength = 200
[node name="Camera" type="Camera" parent="."]
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, -3 )
current = true
near = 0.01
far = 1000.0