so like chick of something is in the cameras view or if the player can seee the object, if it is in front of him
Feb 21 '11 at 03:08 AM
Feb 21 '11 at 03:25 AM
Is this referring to in the editor or using scripts?
Feb 21 '11 at 03:42 AM
Raycasting is your best bet
You can cast a ray as far ahead of the player as you want him to "see".
Feb 21 '11 at 03:43 AM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Feb 21 '11 at 03:08 AM
Seen: 413 times
Last Updated: Feb 21 '11 at 03:25 AM
how can i moving from camera to other using a code?
How can I know if a gameObject is 'seen' by a particular camera?
How do you turn particles on and off in the Animation View?
3rd person camera script
How can I show split screen or multiple camera views at the same time?
Unity freezes when window inactive - any workaround?
using multiple monitors / video outputs?
Camera and Physics controls for sledding-styled game
How to: Do a camera that is top Down/Isometric