Hi everybody,
i have problem with setting camera position. In scene user can create multiple planes with different positions and different rotations. I have to add functionality o change camera position and direction that after user click button camera will automatically change position in front of specific plane, parallel to plane and directed to the center of plane. Camera should be located somewhere in the line perpendicular to plane that goes through center of the plane. Camera should has constant distance to plane e.g 10.
I create playground to visualize what a mean.
I don’t have any idea how to achieve this. I checked this forum but i didn’t found solution to this problem.
I will be grateful for any help