Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 ChrisHorrigan · Jun 08, 2015 at 08:45 AM · line of sight

Visually representing enemy cone of vision without Unity Pro?

edit: I should mention that I'm doing this in Unity 4.
I'm working on a top down shooter in which the player will try to avoid being spotted by the guards. edit: the guards walk around and chase after the player if they spot him. I have successfully coded the guards' vision so they spot the player correctly, but I'm having trouble accurately representing the guards' vision to the player. My idea was to have a spotlight attached to the guard that has the same range and angle as his view. The problem is without Unity Pro, I can't do shadows or deferred lighting. Does anyone have any suggestions? It actually wouldn't be the end of the world if I needed to give up on visible lines of sight, the game is shaping up to be more of a shooter than a stealth game anyway. I just want to see if I've missed something pretty straightforward that could get the job done. Thanks!

Spotlight shining through wall

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
0

Answer by Notter · Jun 08, 2015 at 08:56 AM

In the unity stealth tutorial they do something similar with CCTV cameras each camera has a "vision cone" represented by a custom shape with a collider.

then they use a spotlight to represent the area of vision on the ground. but i think you can also adjust the collider object to look as if the area is dangerous.

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
0

Answer by applemaniac · Jun 08, 2015 at 08:56 AM

With Unity 5 you don't need Pro to do what you want anymore.

Comment
Add comment · Show 3 · 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 ChrisHorrigan · Jun 08, 2015 at 06:58 PM 0
Share

I have already done a ton of work on this project and I actually don't have much left to do. Is it possible to move it to Unity 5? And how competent would I need to be to do that?

avatar image applemaniac · Jun 09, 2015 at 06:05 AM 0
Share

just copy your project, download Unity 5 and try. It didn't change much you'll see, some core improvements and some pro features in the free version.

avatar image ChrisHorrigan · Jun 09, 2015 at 03:31 PM 0
Share

@applemaniac It can't hurt to try I guess. Thanks and I hope it works out.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

AI raycasting problem 0 Answers

How to apply a mask to a camera to create a line of sight effect 0 Answers

2D Line of Sight with tiles 1 Answer

Line of Sight - how to deal with partially visible objects? 1 Answer

Best way to paint a Camera's Line of sight 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