You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc236c3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/explorer.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,32 @@ Drag files from your computer anywhere onto the Explorer panel:
36
36
37
37
Items are capped at **25 MB** each. Images and models get generated thumbnails; audio and text show icon cards.
38
38
39
+
### Add files… and New file
40
+
41
+
*Since 1.54.3.* Phones and the Quest browser have no drag and drop, so the Explorer also opens your device's own file
42
+
picker. **Add files…** is in the right-click menu of the grid background, of a folder, of a mounted
43
+
project and of a folder inside one, and an empty folder shows it as a button under *Nothing here yet*. The files you pick
44
+
land where the same files dropped there would: in that folder, in a mounted project's unsaved changes until you press
45
+
**Save**. The same rules apply as for a drop — the 25 MB cap, a `.tp` added as a folder,
46
+
and [the question about files you already have](#importing-files). Where nothing can be added (the read-only Scene view,
47
+
a session you can only view) the entry does not appear.
48
+
49
+

50
+
51
+
**New file ▸** (in the same menus of the grid background and of a folder) creates a text file from a template and opens
52
+
it in the code editor:
53
+
54
+
| Entry | Starts as |
55
+
|---|---|
56
+
|**Script (.js)**| a behaviour with its handlers stubbed out — bind it to a [Behaviour node](nodes/behaviour.md) to run it |
57
+
|**Note (.md)**| a Markdown note with a heading, which everyone in the session can edit together |
58
+
|**JSON (.json)**| an empty JSON object, for settings or data a script reads |
59
+
|**Text (.txt)**| an empty plain text file |
60
+
61
+
New file is greyed out for a viewer: only editors can change files.
62
+
63
+
{ width="390" }
64
+
39
65
**Importing something you already have.** A file is identified by its contents, so re-importing the same bytes is not a new file. The app tells you what it already has and lets you skip it, reveal it, or — for a scene — take a real copy. The rule lives in **Settings ▸ Explorer ▸ "When importing files already in your library"** (Ask / Skip them / Import as copies); see [Projects](projects.md#importing-something-you-already-have).
40
66
41
67
**Big models are optimized as they come in** (1.37): over 50k triangles or with a texture over 2048 px, an import gets
Copy file name to clipboardExpand all lines: docs/nodes/wander.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Wander
2
2
3
-
Drifts the connected object around a smooth, never-repeating target inside an **area object** (a water volume, a room) or a box around where it was placed — fish, birds, fireflies, idle drones.
3
+
Drifts the connected object around a smooth, never-repeating target inside an **area object** (a water volume, a room) or a box around where it was placed — fish, birds, fireflies, idle drones. With **ground** on it walks across the floor instead — deer, a herd, a wandering NPC.
4
4
5
5
**Output:** effect (wire into an [Object Selector](objectselector.md), or leave it in an object's own flow)
6
6
@@ -19,13 +19,20 @@ Drifts the connected object around a smooth, never-repeating target inside an **
19
19
| seed | 0 | 0 – 999: 0 = take it from the object, so copies never move in step |
20
20
| margin | 0.2 | 0 – 2 m kept clear of the area's sides |
21
21
| rx, ry, rz | 1, 0.3, 1 | half-extents of the box when no area is wired |
22
+
| ground | on | keep the object at the height it was placed at, wandering across the floor only — see below |
23
+
24
+
**Ground** (*since 1.54.3*) is for walkers — deer, a herd, a wandering NPC. The object wanders in `x` and `z` and keeps
25
+
the height you placed it at: no bobbing within `ry`, and a floor slab wired as the `area` no longer pulls it down into
26
+
the slab's middle. A new Wander node starts with ground **on**; switch it **off** for a fish, a bird or a firefly that
27
+
should drift up and down too. Wander nodes saved before 1.54.3 keep drifting in 3-D.
22
28
23
29
The target is three octaves of smooth noise per axis at incommensurate rates — it never repeats, never jumps, and always stays inside the box. It is a pure function of the shared clock, so every peer sees the same wanderer in the same place.
24
30
25
31
## Practical example
26
32
27
33
Clownfish that potter about the tank:
28
34
29
-
1. Give the fish a **Wander** node and wire an Object Selector of the **water volume** into `area`; margin 0.4, speed 0.2.
35
+
1. Give the fish a **Wander** node, switch **ground** off, and wire an Object Selector of the **water volume** into
36
+
`area`; margin 0.4, speed 0.2.
30
37
2. Add [Orient to Velocity](orientvelocity.md) so it faces where it is going, and [Body Wave](bodywave.md) so it swims.
31
38
3. Duplicate the fish: with `seed` 0 each copy wanders its own way.
0 commit comments