Hello
I try change object visibility by script.
After forum search I found only animation metod, with key frame animation. Can I change buy script object visibility without add keyframe?
Thank You
Forum topic · General Scripting
By Aleksey Kidisyuk · 2016-10-11
Hello
I try change object visibility by script.
After forum search I found only animation metod, with key frame animation. Can I change buy script object visibility without add keyframe?
Thank You
SOLVED
Aleksey Kidisyuk · 2016-10-13
Thank You All
if getVisController obj == undefined do obj.visibility = bezier_float()
obj.visibility.controller.value = 1
works
BUT
I see changes on viewports only when I change current time on timeline :(
I try redrawViews(),completeRedraw(),setNeedsRedraw - not work...
UPDATE:
I add
obj.pos=obj.pos
and work. but it's stupid (IMHO)
dosn't work
Aleksey Kidisyuk · 2016-10-13
Sorry, dosn't work
From script I can set $.visibility only to true or false
After $.visibility = 0.5 I have unvisible objects
Any other ideas?
Thank You
.
miauu · 2016-10-12
Something like this:
$.visibility = 0.5