<window>.isCulled help
Hi everyone,
I'm trying to figure out this Code:
avatar = viz.addAvatar('vcc_male2.cfg',pos=[-2,0,0]) |
It seems that you only check for visibility of the avatar once. You should put the isCulled check in a loop, so that Vizard continuously checks whether the avatar is in view. Hope that helps!
|
Thanks that's very helpful. so if i were to make a loop for it to check for visibility until the program stops how would I do that?
|
Use vizact.ontimer(). For more information, see http://docs.worldviz.com/vizard/comm...ct/ontimer.htm. An example use of vizact.ontimer:
Code:
import vizact |
That worked great! thanks a lot for your help
|
All times are GMT -7. The time now is 09:46 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC