0 votes
asked in CCDIK by (120 points)

Hello all,

I am in development of a robot arm and I am using the CCD IK script to solve the inverse kinematics of the object's position as it is moving around. However, this movement only works for me when I am in scene mode but never in game mode. I figured that the best way to allow for this movement to happen was to try to map the end effector's movements to a script that changed the position every time I pressed a different arrow key; however, the script did not affect the end effector's position. Below is a picture of the object I made and its hierarchy (sphere 5 is the end effector) as well as the position script that I tried to implement. Any help or words of advice would be greatly appreciated thank you.

commented by (120 points)
To clear any confusion, by play mode, I mean game mode instead of being in scene mode while the game is playing.
commented by (120 points)
Also sphere (5) is the sphere at the bottom of the chain.
commented ago by
cialis and alcohol safe the team
 http://tadalafilatwalmart.net - cialis over counter at walmart
  cialis for women results current activity
 <a href="http://tadalafilatwalmart.net">generic cialis at walmart
</a> - cialis for women side effects who is online
 cialis trackback url for this

1 Answer

0 votes
answered by (16.3k points)

You should make a new gameobject, assign it to the "Target" slot of CCDIK. Then in your code, move that gameobject.



Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.