articulations-robot-demo
articulations-robot-demo copied to clipboard
I want the robot to move according to the target position, not by keyboard control, is there any good solution???
I deactivated both Controller scripts in the root link, but then you have to set all Articulations Parameters for all Articulations Components yourself. This is how they set target rotation in their own source code: https://github.com/Unity-Technologies/articulations-robot-demo/blob/72d05339e625208c5e8e025bdca1fc2d2d3d308f/ArmRobot/Assets/Scripts/ArticulationJointController.cs#L44
I deactivated both Controller scripts in the root link, but then you have to set all Articulations Parameters for all Articulations Components yourself. This is how they set target rotation in their own source code:
https://github.com/Unity-Technologies/articulations-robot-demo/blob/72d05339e625208c5e8e025bdca1fc2d2d3d308f/ArmRobot/Assets/Scripts/ArticulationJointController.cs#L44
First, thank you for your reply!So,do I have to use inverse kinematics to figure out the parameters of each joint?
Yes you do. The Assetstore / Community provide lots of IK solutions though not all methods fit equally well for all systems. In case you don't already know of a specific solution you would be better off researching for one that fits your robot.
Thank you very much for your suggestion. I will try to solve it!