Brax's Utils - A module of various assorted functions


#1

I just uploaded a utilities module (open sourced, don’t worry, not concerned with theft on this one) and figured I’d share it here. The main features it possesses is the ability to resize a model via function to fit in a certain bounding box (so you can effectively have a Size value for Models) and the ability to create and get points on Arcs, which behave like Rays and even feature a function for what I call arc-casting (ray-casting along the arc). It also can be used to bypass the ray length limits by setting the gravVector of a ray (arc.g, or the last constructor argument) to Vector3.new() and giving it a segmentLength (third argument, or arc.l) of less than five thousand.

If you have any questions, feel free to ask, and please, tell me if there are any functions you commonly use that are missing. I will be maintaining this utilities module.


#2

Screenshot of an arc (visualized using Parts)


I also fixed a bug that would cause the module to crash when arc-casting.