Hi,
I am trying to hide balls with reference to time and then unhide them, animate dose not work with hide , can you propose another way of doing it ?
Forum topic · General Scripting
By Azar Dei · 2011-09-14
Hi,
I am trying to hide balls with reference to time and then unhide them, animate dose not work with hide , can you propose another way of doing it ?
Comments (4)
Comment policy
I have solved it with
for o in geometry do
(o.visibility = bezier_float()
with animate on
(
at time 0 o.visibility.controller.value = 0
at time 100 o.visibility.controller.value = 1
)
)
I started on making a script to do this once upon a time ;o)
It's not finnished, but here it is anyway:
The hide property can not be animated by default, because it has no animation track yet. You can add one manually in the graph editor, or use this wonderful script by lonerobot to animate the visibility:
http://www.scriptspot.com/3ds-max/scripts/visibility-assistant
Cheers
Thx, I am looking for something simple with animate on that I can add to may program. I tryed this
for o in geometry do
(o.visibility = bezier_float()
with animate on
(
at time 0 o.visibility.controller.value = [0,0,0]
at time 100 o.visibility.controller.value = [0,1,1]
)
)
but I get
-- Error occurred in o loop; filename: C:\Users\Avner Dei\Documents\3dsMax\Scripts\viz.ms; position: 138; line: 6
-- Frame:
-- o: $Box001
-- Unable to convert: [0,0,0] to type: Float