OverHash / Roblox-TS-Libraries

Libraries I have created for Roblox-TS and npm
12 stars 15 forks source link

feat(RotatedRegion3): expose RR3 to RR3 hit test #8

Closed FirstVertex closed 3 years ago

FirstVertex commented 3 years ago

My application uses virtualization to build a "theory" about where Parts will be, without physically positioning the Model geometry there.

Therefore there is not an actual part in the hit tested region yet. But, it's RR3 is computed in advance.

This small change will allow me to check if a RR3 is within another RR3 without any meshes being materialized.

OverHash commented 3 years ago

Unfortunately I don't feel comfortable merging and pushing this commit, as I'd prefer for this library to be a direct port of the Roblox Luau module.

If you feel as though this functionality should be added to rotated region 3, feel free to voice your opinion at the Roblox devforum post.

If you still want this change locally, I'd advice copying the contents of the module into a folder in your project and modifying the rotated region3 library from there.