Dynamic components with constrained range of motion?
-
Hi!
I'm trying to make a dynamic component with some moving parts. I can constrain the axes... is there a way to set limits to how far a (sub-)component can be moved/rotated in a given direction?
Thanks!
Andrew -
In the dynamic attributes, when doing animation. You get to choose how much it rotates, so you can choose any degrees if you want.
-
If I understand the question correctly, you want to be able to rotate the component, but only a certain distance? You can just use a conditional statement.
Angle = if(inputAngle<maxAngle, inputAngle, maxAngle)If you wanted to actually be using the rotate tool, you could nest the component within a shell, and have the nested component compensate when the shell's rotation exceeds the max rotation. I don't think you can have a single rotation attribute constrained with a formula and still be able to directly alter it with the rotation tool, unfortunately.
Advertisement