mleep
05-31-2009, 04:56 AM
Any ideas on how to get my "controller curve" for my rig to have a simple goal?
I tried parenting the controller curve to a shape, turned shape active rigid, and gave it a newton field. This works ok, but it lets the object rotate, which I don't want. I want it to simply "ease towards" the destination.
Much like creating two particles and giving one a goal, and goal weighting to the other...
// Create particle systems
particle -p 5 0 -5 -n partOne;
particle -p -5 0 5 -n partTwo;
// Set rendering type to sphere
setAttr partOne.prt 4;
setAttr partTwo.prt 4;
// Add goals to each set of particles: 1 to 2, 2 to 1
goal -g partTwo -w 0.2 partOne;
goal -g partOne -w 0.2 partTwo;
// Set goal smoothness for each goal to create 'curved' transition (easing)
setAttr partOneShape.goalSmoothness 4.0;
setAttr partTwoShape.goalSmoothness 4.0;
I tried parenting the controller curve to a shape, turned shape active rigid, and gave it a newton field. This works ok, but it lets the object rotate, which I don't want. I want it to simply "ease towards" the destination.
Much like creating two particles and giving one a goal, and goal weighting to the other...
// Create particle systems
particle -p 5 0 -5 -n partOne;
particle -p -5 0 5 -n partTwo;
// Set rendering type to sphere
setAttr partOne.prt 4;
setAttr partTwo.prt 4;
// Add goals to each set of particles: 1 to 2, 2 to 1
goal -g partTwo -w 0.2 partOne;
goal -g partOne -w 0.2 partTwo;
// Set goal smoothness for each goal to create 'curved' transition (easing)
setAttr partOneShape.goalSmoothness 4.0;
setAttr partTwoShape.goalSmoothness 4.0;
