Hi, i am using the included c# mouselook script and it is working perfectly.
However, I would like to set the starting rotation at -38, 90, 0. this is the camera’s rotation by default.
When the script runs, the rotation immediately “snaps” to the minimum x and the minimum y.
i’ve tried adding:
transform.eulerAngles = Vector3(38, -90, 0);
To the “start” function, but get:
“Expression denotes a
type', where a variable’,
value' or method group’ was expected” as an error.
[Note : I have edited the script to limit x rotation but i don’t think that’s the issue.]