• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Grady · May 02, 2011 at 07:10 AM · mapradar

How to make a radar/map

Hey everyone, I am making a car game, where your view is from above the car.... I was wondering if anyone knew if it is possible to make a sort of radar map where you can see slightly more of what's around you from a birds eye perspective. It's like most games (like grand theft auto) and you can see the buildings and stuff like that.

Any answer would be appreciated!!!

-Grady

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · May 02, 2011 at 07:16 AM 0
Share

create another camera view

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by efge · May 02, 2011 at 07:34 AM

You could take a look at the Wiki or this answer How do I attach a Camera to a GUI (for a Mini map).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by CHPedersen · May 02, 2011 at 07:25 AM

As ina said, you can create another camera view, indeed. Make a camera and position it somewhere above the car, point it directly down towards the car, and make sure it follows the car around (if car rotation is not a problem, make it a child of the car GameObject).

Then, if you have Unity Pro, make a RenderTexture and make the Map camera render into it, then display that texture in a GUI.Box.

If you don't have Unity Pro, you need to fiddle with the viewport settings of the Map camera to ensure it renders its content into a sub-window of the screen.

In any case, it might be a good idea to make the Map camera orthographic.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Radar Map Blip.......................... 1 Answer

Assigning UV Map to model at runtime 0 Answers

Help with minimap 1 Answer

Interactive Map 1 Answer

Mini-Map Radar screen with different blips. 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges