Giter VIP home page Giter VIP logo

4legik's Introduction

4legIK

4leg robot IK

Unity 上で4脚ロボットの各脚3軸のIKによる計算をしてみました。

ボディや足先をグイグイ動かせます。

動作

https://twitter.com/devemin/status/1234304828123181056

●使い方

  1. Math.Net を使います。

下記URLを参考にAsset フォルダにdllをコピーすれば使えます。

If you use this, you have to copy DLL (Math.Net) to Asset folder.

https://note.com/narikinnn/n/nc299291ec60e

  1. シーン mathnetIK.unity を開きます。

  2. 再生ボタンを押します。

  3. オブジェクト targetBase を動かすと、ボディが動きます。(position, rotation) オブジェクト targetFL, FR, RL, RR を動かすと、足先が動きます。(position, rotation)

その位置に合わせて脚サーボがIK計算により動きます。

その他

素人の自分の学習目的ファイルを、バックアップの意味を含めアップロードしています。 エラー処理や範囲外処理など一切しておりません・・・ 試してみたい方はどうぞ。

Unity 2019.1.10f1

MIT License.

@devemin https://twitter.com/devemin

4legik's People

Contributors

devemin avatar

Stargazers

Kimihiro Mori avatar Tomato1107 avatar yoshiki sakai avatar Kirurobo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.