![]() |
|
#1
|
|||
|
|||
![]()
Is it possible to detect when something changes within a scene? for example if your in the gallery environment and the viewpoint is pointed at the starry night picture could you receive a detection message on when an avatar walks into your viewpoint?
Help would be greatly appreciated. |
#2
|
|||
|
|||
Can you check if the avatar is visible using the <window>.isCulled() function? This function takes in the name of the object and returns whether it is culled from the current viewing frustum. If the function returns 0, it's not culled so is visible. So maybe try this:
Code:
avatar = viz.addAvatar('AvatarYouAreUsing') if(viz.MainWindow.isCulled(avatar) == 0): // Avatar is visible |
#3
|
|||
|
|||
The vizproximity library is useful for detecting proximity between objects.
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
change a model between scenes? | Darkmax | Vizard | 2 | 05-25-2010 03:14 PM |
Copying Scene? | Brett Lindberg | Vizard | 0 | 08-28-2009 11:56 PM |
Change Viewpoint in different scenes | lilio | Vizard | 1 | 08-28-2009 02:56 PM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |
General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 10:15 AM |