Hello, how do I calculate middle Y position between parts A and B? Example: Part A has Y position of 0, and part B has Y position of 20. I want the result to be 10. I also want it to work negatively.
You basically calculate the average between the y position of both parts. ((y1 + y2) / 2)
1 | local midY = (part 2. Position.Y - part 1. Position.Y)/ 2 |