npm i @rbxts/rotatedregion3
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!`);
});
- Fixed the type of
RotatedRegion3.Block
to correctly be a callback. - Changed
README.md
code example.
- Fixed the types of many constructors such as
FromPart
- Fix README.md (#7)
- Fixed imports not working correct, see #1