Celarien
11-29-2010, 05:39 PM
Hi...
I'm working on a script which updates certain object's pivots, repositions and rotates them according to values in parameters. I currently have a problem, though, that when I animate the parameter(s), I do not know of any way to update the intermediate keyframes. While Max interpolates the objects size, it doesn't interpolate (nor should it) the objects pivots, thus making my setup incorrect.
Is there any event that I can use to recalculate this whenever the time slider changes? According to documentation there is "on <rollout> setTime <val> do ...", but it doesn't seem to trigger, perhaps because it only works for scripted materials and texturemaps (according to documentation)?
Thanks,
Pete.
I'm working on a script which updates certain object's pivots, repositions and rotates them according to values in parameters. I currently have a problem, though, that when I animate the parameter(s), I do not know of any way to update the intermediate keyframes. While Max interpolates the objects size, it doesn't interpolate (nor should it) the objects pivots, thus making my setup incorrect.
Is there any event that I can use to recalculate this whenever the time slider changes? According to documentation there is "on <rollout> setTime <val> do ...", but it doesn't seem to trigger, perhaps because it only works for scripted materials and texturemaps (according to documentation)?
Thanks,
Pete.
