タグ

ブックマーク / sssiii.seesaa.net (2)

  • メモブログ: Box2Dのオブジェクトと画像について

    @memoblog からのツイート 2021年12月(1) 2021年10月(1) 2021年08月(1) 2021年07月(1) 2021年06月(1) 2021年04月(1) 2021年03月(1) 2021年02月(1) 2021年01月(3) 2020年11月(1) 2020年10月(1) 2020年08月(1) 2020年06月(2) 2020年05月(1) 2020年04月(5) 2020年02月(5) 2020年01月(1) 2019年12月(1) 2019年11月(1) 2019年10月(1) 2019年09月(1) 2019年07月(1) 2019年06月(1) 2019年05月(3) 2019年04月(2) 2019年03月(1) 2019年02月(1) 2019年01月(1) 2018年12月(2) 2018年11月(1) 2018年10月(3) 2018年09月(1

    メモブログ: Box2Dのオブジェクトと画像について
    thorikawa
    thorikawa 2015/12/05
  • CCD-IKについて

    参考サイトを見るとわかりやすいですが、面白い計算方法ですね。実装も簡単そうですし。// 注目ジョイント、エフェクタのジョイント番号、目標座標、繰り返し回数、残り繰り返しボーン数、最大ボーン数 void CFigure::ccdIKSolver(CJoint *joint, int effector, btVector3 &targetPos, int numIteration, int numBones, int numMaxBones) { // エフェクタのワールド座標 btVector3 effectorPos = m_vecJoints[effector]->m_vWorldPosition; // 注目ジョイントのワールド座標 btVector3 jointPos = joint->getParent()->m_vWorldPosition; // 注目ジョイントからの座標系に変

    CCD-IKについて
  • 1