Hello,
Im new to Unity3d and I have a problem with scaling objects in camera. So far I know that i DONT WANT perspective camera. Is there any way to make objects bigger and smaller depending on how far fromc camera that objects is?
Hello,
Im new to Unity3d and I have a problem with scaling objects in camera. So far I know that i DONT WANT perspective camera. Is there any way to make objects bigger and smaller depending on how far fromc camera that objects is?
just update the object’s scale depending on its z position
transform.localScale = Vector3(transform.position.z,transform.position.z,transform.position.z);
It will look absolutely naff though. Why bother using an orthographic camera and then mess around with scale? That’s just backwards thinking…
Thx, I actually did that, but I thout there is a way to do that otherwise, but thanks anyways, Im sure its proper way now