Skip to content

Introduction

Boundaries is a Roblox module for efficient 3D collision detection and spatial boundary management. It uses Bounding Volume Hierarchy (BVH) and Morton codes to provide fast and reliable detection, allowing you to create spatial areas in your Roblox experience to track parts within boundaries.

Project Inspiration

This project was inspired by QuickBounds by @unityjaeger. This project was created from scratch to address limitations in their project's design, improve performance, and reduce memory usage. If you're interested in the benchmarks, head to Performance under Resources.

Use Cases

  • Player Interactions:
    PvP and PvE areas, safe zones, motion sensors, and NPC dialogue triggers.
  • Game Mechanics:
    Quest checkpoints, item drop-off and pickup areas, and cutscene triggers.
  • World Systems:
    Weather and lighting transitions, ambient SFX and VFX, and environmental triggers.

Want to see a basic implementation? Move on to the Tutorial.


C6H15

C6H15