I’m a newby in UE programming and I’m trying to figure out a few things, one of these is about measurement units.
During my study I’m finding out that there are various measurement units basing on the context, and I’d like to understand more.
For example:
In the **Transform section (****Details **panel) which units are used by the scale/location/rotation parameters?
When i use, say, the **Get Hit Result Under Cursor by Channel **node (image below), the hit result returns some data (like **location, impact point **and so on), what units do these data use?
Local and World units are different, right?
Thank you and sorry for the (maybe?) dumb questions.
Not really. Distance (vector magnitude) is in unreal units, scale is unitless (in this context) - a simple multiplier. Location is a vector, each component XYZ is in unreal units. Normal is a direction vector with length of 1 uu. Rotation is in degrees but radians are used here and there, especially when you deal with physics, angular velocities, for example.
They’re the same. 1uu = 1cm
edit: When you deal with a 2D interface, you’ll be dealing with pixels rather than cm or unreal units.