PDA

View Full Version : Scripted HD IK Damping


MikieK
11-17-2011, 10:26 PM
Greetings

I have to animate a robot arm and it's driving me nuts.

(see http://forums.cgsociety.org/showthread.php?p=7170991#post7170991 )

I'm double positing in this forum because I've made progress with an HD IK solver by playing around with join damping in my first joint, and am considering a scripted solution. As damping aproaches 1, the second joint is free to orient itself both above, and below the angle of the main arm. The problem is that if I keep damping near 1, I lose range of travel.

So I was hoping to script the damping value based on the relative angle between the two arms, that way the main arm will hold it's position as the secondary arm is in alignment with it (high damping), and is more free to move, when the arms are not in line with each other.. But cann't find any reference to how to access IK join parameters from wiring or maxScript...

... or is this totally the wrong way to go about it?

Cheers

Mikie

PEN
11-17-2011, 10:52 PM
HD solvers are not a good idea as it is history dependent. This means the same pose copy and pasted could actually be different. Also as the time line gets longer the system gets slower.

MikieK
11-17-2011, 10:59 PM
HD solvers are not a good idea as it is history dependent. This means the same pose copy and pasted could actually be different. Also as the time line gets longer the system gets slower.

I can't seem to get the HI solver to do anything beyond flailing randomly, or have joints stuck.

Maybe I just need to pay a professional...

I didn't think this would be such a difficult task. The rotational limitations are really proving to be troublesome. With all my trying to make the IK part work, i didn't even notice the limits I put on the roll and pitch and slew on the object on the end of my arm seem absolute to the world rather then relative to it's parent :/

CGTalk Moderation
11-17-2011, 10:59 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.