Notifications
Clear all

[Closed] Animated visibility in hierarchy?

Hello, I’m facing a strange problem. I’m trying to make some visibility animations in hierarchy, but the results I’m getting are strange, looks like a child inherits the visibility from its parent. Is there a way to prevent it?

Take a look:

delete objects

g1 = geosphere radius:10 pos:[-15,0,0] wirecolor:(color 10 20 200)
g2 = geosphere radius:10 pos:[15,0,0] wirecolor:(color 10 20 200)
g1.visibility = bezier_float()
g2.visibility = bezier_float()

g1.parent = g2 --without it it works as it should

--first sphere should slowly appears
k1 = addNewKey (g1.visibility.controller) 0
k2 = addNewKey (g1.visibility.controller) 100
k1.value = 0.0
k2.value = 1.0

--second sphere should fades away
k3 = addNewKey (g2.visibility.controller) 0
k4 = addNewKey (g2.visibility.controller) 100
k3.value = 1.0
k4.value = 0.0


--to force the update, completeRedraw doesn't work
select #(g1, g2)
clearSelection()
1 Reply

Turn off “Inherit Visibility” from Object Properties.