Hello all.
I’m a newcomer to the Unity scene, and thus far, I am really enjoying it. However, I do have a questions: In short, is there a way through the editor to find out the dimensions of an area? My reasons are the following:
I have been tasked with creating an area map view for a game (I just joined the team). The plan is to translate the player’s position in the game onto the area map, including orientation. I have the orientation piece working, but if I don’t know the actual size of the scene/area, then I cannot perform the position calculation.
Another small point is a question of the x/y coordinates. I’m currently using Object.transform.position.x and Object.transform.position.y to get these values. However, as I’m printing them to the console while debugging, I notice some negative values in there, depending on how far I move the player. I would think the values would always be positive, which clearly complicates things as well.
At any rate, I thank you for taking the time to read this, and I look forward to continuing to be a part of this community.
Thank you.