jsantell / THREE.IK

inverse kinematics for three.js
https://jsantell.github.io/THREE.IK
MIT License
455 stars 54 forks source link

Adding IK to a Skinned Arm #8

Closed tomatrow closed 5 years ago

tomatrow commented 5 years ago

Hello,

I'm trying to add IK to a simple skinned rectangular arm.

I forked this repository and tried to do that in the examples directory here under /THREE.IK/examples/arm.html.

I've been having trouble the axis. It seems the skin and the armature don't align when we solve the system.

I suppose I'll turn this into a pull request for a new example once it's working.

jsantell commented 5 years ago

Here's an example using SkinnedMesh using a utility to flip a model's forward from -Z to +Z