• Editor
  • our player hold a gun with two hands.

We hope the player can rotate the gun in the game. And two hands can rotate and move with the gun, how should we do that? I think if one hand hold the gun, that will be very easy. But how to do it with two hands in the game? Is IK ok for it?

Related Discussions
...
  • संपादित

Easiest solution for that is to use IK, you can constrain both hands to the same constraint and move that around.

We use Cocos2d-x now, Is there related functions in runtime SDK? If so, what are they? When I call the functions, I should move the gun bone, or rotate it? Is there some examples online?

IK has not yet been implemented in the runtimes, this will happen quite soon.