Skip to content

Files

Latest commit

928fb14 · May 16, 2021

History

History
This branch is 6 commits ahead of, 16 commits behind OverHash/Roblox-TS-Libraries:master.

RotatedRegion3

@rbxts/rotatedregion3

NPM

Installation:

npm i @rbxts/rotatedregion3

Example Usage

import RotatedRegion3 from "@rbxts/rotatedregion3";

const myRegion = new RotatedRegion3(
  new CFrame(10, 0, 5),
  new Vector3(5, 10, 5)
);
const parts = myRegion.FindPartsInRegion3();

parts.forEach((part) => {
  print(`${part.Name} was inside the region!`);
});

Changelog

Unreleased

1.2.0

  • Fixed the type of RotatedRegion3.Block to correctly be a callback.
  • Changed README.md code example.

1.1.0

  • Fixed the types of many constructors such as FromPart

1.0.8

  • Fix README.md (#7)

1.0.7

  • Fixed imports not working correct, see #1