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
Copy file name to clipboardExpand all lines: docs/usage.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ end)
42
42
Ideal for ECS frameworks or continuous logic. Instead of waiting for events, your systems poll the state every frame using zero-allocation iterators. You should disable the internal scheduler to step the update method manually for perfect determinism.
QuickZone:update(dt) -- Steps it deterministically once per frame.
@@ -64,22 +64,22 @@ end)
64
64
Zones represent physical areas in the world. They are mathematical boundaries that can be static (fixed in space) or dynamic (following a part). They can be created from existing parts or defined manually with a CFrame and Size.
65
65
66
66
### Bulk Creation
67
-
The easiest way to create zones is using the bulk constructors. The `fromParts`, `fromDescendants`, `fromChildren`, and `fromTag` return a Zones collection object, which acts as a logical unit allowing you to manage multiple zones at once.
67
+
The easiest way to create zones is using the bulk constructors. The `parts`, `descendants`, `children`, and `tag` return a Zones collection object, which acts as a logical unit allowing you to manage multiple zones at once.
@@ -113,12 +113,12 @@ Dynamic zones need to know when their physical reference moves. You can let Quic
113
113
You can quickly create a dynamic zone from an existing physical part. If you set autoSync = true, QuickZone will automatically update the zone's position in the spatial tree every frame to match the part.
Because Zone.fromPart requires an object with a physical volume (like a BasePart), you cannot use it for abstract references like an Attachment or a Bone. Instead, you manually create the zone with a specific size and declaratively set its reference and autoSync.
121
+
Because Zone.part requires an object with a physical volume (like a BasePart), you cannot use it for abstract references like an Attachment or a Bone. Instead, you manually create the zone with a specific size and declaratively set its reference and autoSync.
Copy file name to clipboardExpand all lines: docs/why-use-quickzone.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ QuickZone, on the other hand, is Entity-Centric. It keeps a list of entities and
25
25
### 2. Expressive and Boilerplate-Free API
26
26
Writing performant code shouldn't mean writing complicated code. QuickZone is designed to be highly ergonomic.
27
27
28
-
-**CollectionService Integration**: Tag your parts and bind them to your logic in a single line of code (e.g., `Zone.fromTag('Lava')`).
28
+
-**CollectionService Integration**: Tag your parts and bind them to your logic in a single line of code (e.g., `Zone.tag('Lava')`).
29
29
30
30
-**Declarative Configurations**: QuickZone lets you define behaviors, priorities, and relationships upfront in simple configuration tables, drastically reducing boilerplate and keeping your scripts clean.
0 commit comments