Kyman2008
05-24-2013, 06:58 AM
Hello,
I am developing a training module that I would like to have an avatars position tracked in. I have the avatar tracked now I would like to add a blinking or flashing light that is somehow attached to the avatar so that the avatar is more easily seen while being tracked. Is there anyway that I may do this? This is what I have tried so far....
avatar = viz.addAvatar('vcc_male.cfg', pos= viz.MainView.getPosition())
link= viz.link( viz.MainView, avatar)
light5 = viz.addLight()
light5.color(viz.YELLOW)
light5.intensity(5)
headbone = avatar.getbone('Bip01 Head')
link= viz.link( headbone, light5)
Thanks!
I am developing a training module that I would like to have an avatars position tracked in. I have the avatar tracked now I would like to add a blinking or flashing light that is somehow attached to the avatar so that the avatar is more easily seen while being tracked. Is there anyway that I may do this? This is what I have tried so far....
avatar = viz.addAvatar('vcc_male.cfg', pos= viz.MainView.getPosition())
link= viz.link( viz.MainView, avatar)
light5 = viz.addLight()
light5.color(viz.YELLOW)
light5.intensity(5)
headbone = avatar.getbone('Bip01 Head')
link= viz.link( headbone, light5)
Thanks!