Is this possible?

I’m wondering if it is possible to program an orientation scout into a FPS game in Unity, that changes with your position in the terrain.

For example, the one in the bottom left corner of this picture:

I haven’t seen this feature in any Unity games I’ve played, and I’m just wondering if it’s possible to create it. I’m pretty new at learning the GUI stuff and I don’t see how I could make one work.

Basically a simplified radar? sure, that’s easy. There are two approaches: you can make the radar an ortho camera that renders a particular layer - in your case you can parent it to the player so it rotates with him - and render that to a texture.

The other way is to make each dot on it a tiny GUITexture, and mathematically transform their positions. That would look something like:

var thisPos : Vector3 = player.InverseTransformPoint(enemyPos);
thisTex.transform.position.x = thisPos.x * someMultiplier + radarCenter.x;
thisTex.transform.position.y = thisPos.z * someMultiplier + radarCenter.y;

(and probably some test to determine whether or not the object should be visible at all)

Sweet! Thanks, I had no idea it was so easy!