Original Post
I've been following the nehe tutorial on rope physics using the spring-mass system. The particles move around just fine. However, I'd like to use this to drive an actual 3d model, which means positioning and rotating weighted joints on the model.
Can anyone suggest some ways to construct the rotation matrix for the joints? I've tried a few different ways to construct a look-at matrix at each joint using the next particle in the chain, but I occasionally run into twist issues, where the model completely twists around and creates an odd taper-like effect at the joint.
Thanks in advance for help.
Can anyone suggest some ways to construct the rotation matrix for the joints? I've tried a few different ways to construct a look-at matrix at each joint using the next particle in the chain, but I occasionally run into twist issues, where the model completely twists around and creates an odd taper-like effect at the joint.
Thanks in advance for help.