- Home /
Question by
VLunarFangV · Jun 09, 2013 at 08:41 AM ·
camera rotationjavascript-specific
Get camera's rotation value
Does anyone know how to get the rotation value of the main camera? It needs to be in Javascript, too.
Comment
Answer by IT_Criminal · Jun 09, 2013 at 09:39 AM
Camera.main.transform.localEulerAngles
Camera.main.transform.EulerAngles
Camera.main.transform.rotation
Camera.main.transform.localRotation
from what i remember...