[Closed] Speed Controller?
Another animation wiring question…
let’s say we wanna create an controller call speed to control the speed of the turning wheel. We are expected to be able to animate the speed from slow to fast or fast to slow just like any other tracks. Wiring the controller to control the rotation degree is not what we want here. Instead to be able to control the speed of rotation is the main concern here, for our case, degree/sec or degree per frame.
How would you guys setup and what controller would you use? :bounce:
I think I’m trying to figure out the same thing but i haven’t had any luck. I want a slider to controll the speed in which a object spins around one axis.
I tried to wire the weight between two rotation controllers. One which has an endlessly rotating animation and one that is stopped, but because they are additive it had no effect.
I also tried the same thing with the second controller being an orientation constraint but that also screwed up because i think it wanted to wind back everytime the weights went back from the oreintation const.
If anyone else has any idea please help us out!
Well, that’s kind of “easy” you just need to do a numerical integration of the value of the speed controller, in other words , you need to add an float script to the wheel that takes the last values of the speed controller , add all of them and using it as rotation value. You could even use a custom atribute in the wheel instead using an external controller.
I got a max sample file in case you need it, but I don’t have space in any host but I could send it through email.
It would be great if you could send it through!
sfinkty@hotmail.com
Thanks Bud!
hey Fabman… w…wwwhat’s going on? Could you please send though that file. I’m desperate man!!!
Sure, I’ll do it right now, sorry mate, but there’s quite a big time difference between Australia and Spain, I was sleeping I guess
Thanks for sending that through, I’ll check it out and see how it goes. I’m looking at the script now but i’m not very good at these things so it will most likely take me a good day to get it all in my head.
To put it simple… let’s say we’re in the frame 102, what this script does is to go from frame 1 to 102 adding the values of the speed controller in each frame.
I don’t know if there’s a simpler method than this, this is the one I use for this kind of stuff, this works as well to control the position an object with a speed attribute through a path too.
hey Fabman , that was great …
I was trying to get a similar result some time back, but i just couldn’t figure it out. I wanted to speed control a helper on a path but it always used to come back in reverse whenever i reduced my speed value or made it 0
thanks , thats a big help!
You’re welcome, glad that someone found it usefull, it took me a while,but I’m sure it could be optimized, because now has a bit too much resolution and takes a while to calculate, but a least the “speed” stuff works well.