ロープの両端を別のオブジェクトに拘束したい

ロープの両端を別のオブジェクトに拘束したい

お世話になっています。

Cheetah3Dに組み込まれた物理シミュレーションはとても扱いやすく、初心者の私もいくつかのサンプルファイルを参考にしただけでいい感じに扱えるようになっています!

そこで1つ質問なのですが、例えば、ケーブルのようなものを作った場合に、プラグとなる部品にロープの両端を固定するような設定はどのようにして行えば実現できるでしょうか。

View attachment guitarcable.jas.zip

人間が楽器を持って動くアニメーションを作成しようとしているのですが、楽器に刺さったケーブルの動きを物理シミュレーションのロープで実現出来ないかと試行錯誤していて、いい方法が見当たらないんです…

photp.png

プレビュー画面では、プラグを動かすとロープも一緒に動いてくれると最高です!

宜しくお願いいたします…!
 
Hi,

The google translation is not very good but I believe this is what you want.

こんにちは、
googleの翻訳は非常に良いではありませんが、私はこれはあなたが望むものであると信じています。
 

Attachments

  • guitarcable 1.zip
    33.7 KB · Views: 734
Last edited:
Thank you!

This is the operation which I desire.

How can I change plug1 and plug4's start position?

Make sure you are at Frame 0
1) move Plug 1 and Plug 2 to the position and rotation that you want. Record their position/rotation
2) select the spline and switch to point mode
3) select the starting point and move it to the correct plug. In the Timeline record button, use/record "record Points"
4) select the ending point and repeat as above

Now move the frame counter to the end of your animation. Repeat steps 1 to 4 as above.
 
ありがとうございます。

何度か挑戦しているうちに、コツが飲み込めてきました!

回答に感謝!
 
tek.nishi さん、こんにちは。

物理シミュを使った場合、初期位置を決めてやる必要があるので、今回のように編集中に自由にスプラインのコントロールポイントを動かすのは現状では無理のようです。

いろんなアプローチがあるとは思うのですが、スクリプトを書いてみましたので、また試してみてください。

http://www.cheetah3d.com/forum/showthread.php?p=76372#post76372

添付のファイルは、スクリプトをインストールしないと動きませんが、またチェックしてみてください。

それでは

tg_jp, Hiroto.
 

Attachments

  • guitarcable_alter.jas.zip
    36.2 KB · Views: 733
Hi tg_jp, Hiroto,

Thank you very much for this script and for the attached example. This is an interesting problem and not easy to resolve.
 
Back
Top