<table> Utilities.CalculateCorners(<CFrame> PartCFrame, <Vector3> PartSize)
Calculate the bounding box corners of a part.
PartCFrame
The CFrame of the bounding box
CFrame
N/A
PartSize
The size of the bounding box
Vector3
Corners
All of the on-screen corner points
table<Vector2>
Centre3D
The centre of the bounding box
Centre
The on-screen centre of the bounding box
Vector2
TopLeft
The top-left on-screen corner
TopRight
The top-right on-scren corner
BottomLeft
The bottom-left on-screen corner
BottomRight
The bottom-right on-screen corner
Last updated 2 years ago