Notifications
Clear all

[Closed] Scripted HD IK Damping

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

2 Replies
 PEN

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.

1 Reply
(@mikiek)
Joined: 11 months ago

Posts: 0

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