hey ya’ll. I have this object with a Locked Track constraint, and I’m capturing it’s matrix and passing it’s rotation on to other objects. It’s all working really cool and all, but the matrix has the limitation that it’s range equals (in eulers) -180 < x < 180. It’s important that I get a range of at least 360 both ways, and yes, I realize the logical problem with this. One really good solution would be to set the rotation with an animatable slider. Can blender’s scripted GUI sliders be animated? ie, have ipo’s? I suppose if it’s not built in, I could write a script that would change it’s value with an ipo. Anyway, even if I did that, it’s not real cool for animation. The Locked Track (in XSI it’s called an Up Vector, which makes a lot more sence) is really nice for animation.
I’m thinking now that I could write a script to track the object’s rotation and output a correct value as the object’s angle approached and exceeded 180 degrees…
It seems to me that such a thing should be possible, but I guess I’m gonna have to sleep on it tonight. I’m really looking forward to your responses, I’ve been obsessed with this script for almost a week now. In case your wondering, this is for a Doc Ock type tentacle rig, and this script deals with the twisting of the tentacle segments.
[edit]
I forgot to mention, the cvs version of blender seems to have some problems with my script, so if you’re trying to do something like this, I’d recomend using 2.33a for the time being.
[/edit]
I’m going to include some terms so this post will get pulled up when people do a search for this kind of thing.
matrix.toEuler()
matrix.toQuat()
Locked Track
tentacle
tail
follow path
squidy, sentinel (in case someone is trying to make one of those flying matrix robosquids )