Hello
My question is regarding the units used for transform.translate and transform.rotate functions. I would like to measure the shifts/rotations in degrees of visual angle. So are these values used for translation and rotation methods, in cm or in pixels?! I think for rotation it is Euler angle. I would like to convert them to degrees of visual angle for my cognitive study.
The units don’t necessarily represent any specific amount. The size of any given thing is mostly relative to other things in the game, so those other things are what matter. You can make them whatever you want to be.
That said, it’s a common practice to use meters for your units. Many asset store packages use this (so things from different artists will likely be at the correct scale relative to each other), the physics engine’s default gravity uses meters and Earth surface level for its base, and if you use VR in the future, the dual-camera setup is configured with meters being the unit.
All those things are configurable, though.
For angles, most things use degrees, except for the Mathf trig functions, which use radians.
There are also utility functions to translate from radians to degrees. In general, you can think of 1 Unity = 1 Meter. Of course that can be utilized however a developer wants by building things to larger scale, etc… but in terms of defaults and physics it assumes 1 unit = 1 meter.