I have two objects that i need to rotate around a point exactly between them.
let's say that the objects are 2 boxes with 0.5f half extents, positioned in: box1:[1,0,0] box2:[3,0,0]
the point in between them would be: [2,0,0]
so, after applying a rotation of 90 degrees in the middle point, the new coordinates would be:
how can i do that?