Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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
0
Question by isfrseirra259 · Oct 18, 2014 at 01:17 PM · javascriptradar

How to make a 3D radar?

I'm trying to make a 3D radar system where pretty much it logs everything with a set range (say x unity world space units), takes their positions and scales it down to a small representation in a sphere.

Basically something that looks like this:

https://dl.dropboxusercontent.com/u/11090933/FX%20Asset%20Store/FX%203D%20Radar/Logos/Radar_Anatomy_Small.png

Just how do you take gameObjects that you tag, give it a texture and instantiate it?

I understand that free assets exist for this, but I just want an explanation on how the script would be built, and how it works.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by awest · Oct 18, 2014 at 04:28 PM

Instantiating objects with tags/textures is just a matter of creating prefabs. You could even have each object hold a reference to it's mini version, but that isn't the best way to make a radar.

I would recommend instead, using a second, orthographic camera as your radar. Give it a SmoothFollow script and target the moving player. Then give everything that should show up a radar symbol as part of their game object. Keep all the radar symbols in a new layer that the radar camera shows and the main camera doesn't.

You may have to create your own follow script to keep the angle that you want.

This post by Scott Petrovic goes into more detail on Radars.

Comment
Add comment · Show 2 · 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 isfrseirra259 · Oct 18, 2014 at 11:39 PM 0
Share

Seems to work well in 2D, but 3D is a little more difficult. Hmmm. I'll have to see what I come up with.

avatar image Kiwasi · Oct 18, 2014 at 11:47 PM 1
Share

This will be no more difficult in 3D then 2D. The problem with 3D radar systems has always been how to indicate relative heights. That's a graphical game design choice. The technique is still the same.

avatar image
0

Answer by DaiMangou · Sep 20, 2016 at 05:16 PM

Use 3D Radar Builder

here

https://www.assetstore.unity3d.com/en/#!/content/52838


3d-radar-builder-big-precise2.png (292.4 kB)
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.

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can someone help me fix my Javascript for Flickering Light? 6 Answers

Interactive Map 1 Answer

Setting Scroll View Width GUILayout 1 Answer

function OnCollosionEnter problems 1 Answer

Assign Default For Large Array 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges