i have a tube that contains several separated rectangle shaped mesh objects. My goal is to spawn an object in the center of each rectangle and face perpendicular to the rectangle surface
On each separated rectangle i have this code:
Get simple rectangle shaped mesh face direction
On each separated rectangle i have this code:
Code (CSharp):