I’m trying to set up inverse kinematics for a robot arm in Babylon.js. I’ve successfully set up a skeleton for a GLTF model, but I’m encountering issues with the mesh placement, and the code doesn’t seem to be solving the pose correctly for a moving target ball.
Current Status:
- The skeleton is in place, and I’ve loaded a GLTF model for the robot arm.
- However, the mesh isn’t positioned correctly. It seems to be displaced from where it should be, and I’m struggling to identify the root cause of this issue.
- Additionally, I’m attempting to use inverse kinematics to control the robot arm’s pose in response to a moving target ball. Unfortunately, the current code doesn’t seem to be achieving the desired results.
Here is a complete playground with a skeleton created manually and configured to follow a ball
IK | Babylon.js Playground (babylonjs.com)
I would greatly appreciate it if anyone could provide insights, suggestions, or perhaps even point out potential pitfalls in my approach. If you have successfully implemented inverse kinematics for robot arms in Babylon.js or have encountered similar issues, your guidance would be invaluable.
I found a few topics that relate to this issue and that helped me get to this point but i could not solve this issue: