- Home /
Some math fun regarding scale and rotation
Let's say I have the following 3D objects:
All have the same z-position but different x and y positions so they look different based on their position to camera. I want all to appear the same by changing rotation and scale, let's say all planes should appear as having the same size and orientation as the first from upper left. How do I do that?
Basically I have to compute new euler angles and sizes based on their distance from the camera.
Answer by Bunny83 · May 20, 2017 at 12:15 AM
That's not really possible. It might be possible to get a look similar to the one you want but getting the exact same look is not possible since the perspective distortion can't be reproduced just by scaling / rotating the object. The further away a point is from the screen center the more it is distorted. How much depends on the fov of the camera.
If you want a unique viewing angle, no matter where the ship is locatee you might want to use an orthographic camera instead of a perspective.
Your answer
Follow this Question
Related Questions
how to create an inverse-TRS matrix directly? 0 Answers
Unity Float to db 2 Answers
How to get 0-360 degree from two points 2 Answers
Calorie tracker 1 Answer
Check my math...? 1 Answer