Notifications
Clear all
[Closed] controller key values not lerping?
Nov 13, 2012 5:47 pm
I’m sure i’m doing something wrong here, as I dont have much experiences with controllers.
I’m creating my own animation controllers for internal data.
if i do the following code
(
c = Bezier_Color()
keyA = addnewkey c 0
keyB = addnewkey c 10
keyA.value = [5,5,5]
keyB.value = [10,10,10]
sliderTime = 5f
print c.value
)
I was expecting something inbetween 5, and 10. But what i get is [1,1,1]. Infact i get that value for any time that isnt 0 or 10.
Is there something i’m missing?
thanks
2 Replies
Nov 13, 2012 5:47 pm
Bezier_Color controller is ranged from [0,0,0] to [1,1,1]. you need Bezier_Point3 in your case.