Hi folks!
Im going a bit crazy with this, maybe you can help.
Im doing some custom functions to help myself work with Animation curves. Thye have a quite annoying formatting so I want to streamline it.
{
var _source,_index,_name
_source = animcurve_get_channel(curve, channel)
_index = animcurve_get_channel_index(curve, _source.name)
curve.channels[_index].points = new_points
return
}
The problem is that if new_points is a local variable, it will break the reference inside the curve once the event or the function is finished.
How can I get around this? array_copy doesn't seem to work directly on the channels[i].points
thanks!