Code Monkey home page Code Monkey logo

vrm_dollplaypcver's Introduction

VRM_DollPlayPCver

VRMでお人形遊びするやつのPC版

見る所

私が書いた部分は以下にまとめてます。
https://github.com/xelloss120/VRM_DollPlayPCver/tree/master/Assets/Script

使い方

https://docs.google.com/presentation/d/1WRol9mT7jh9rw1KqK9kF3JpmW1qVh9cYcNg5dYzCH0w/edit?usp=sharing

作った人

https://twitter.com/120byte

免責

本ソフトウェアの利用により発生した問題は、
本ソフトウェア利用者の責任とし、
本ソフトウェア作成者は一切の責任を負わないものとします。

BOOTH

https://120byte.booth.pm/items/1654585

注意

使用しているアセットを除外しているため、cloneしただけではビルドできません。

使用しているアセット一覧

Runtime Transform Handles3.5.0
Let's Tweet In Unityたぶん1.1
Final IK2.1
PuppetMaster1.1
UnityStandaloneFileBrowserたぶん1.2
TriLib1.9.0b
UnityWindowsFileDrag&Drop???
VRMLoaderUI0.3
VRoidSDK0.1.0
※末尾はバージョン

その他

アイコン画像や効果音も除外しています。

言い訳

元々公開しないつもりだったので中身が酷いです。
2回ほど公開しないのか?的なことを海外ニキに聞かれたので、
差分管理が辛くなってきたし、バージョン管理ついでに公開します。

色々抜けてるけどコレ本当にビルドできるの?

以下の手順は私自身がgitからcloneしたプロジェクトに対して、
出来るだけ手軽にビルドできるまでをまとめています。

■UniVRM
まずUniVRMを入れます。
https://github.com/vrm-c/UniVRM/releases

バージョンは一旦最新で試してみましょう。
今回は2020/09/03時点の最新であるv0.59.0で行きます。

本来はVRoidSDKに同梱されているUniVRMを参照するのですが、
VRoidSDKの入手は比較的困難なので、UniVRM単体で代用します。

■Runtime Transform Handles
最低限度の機能として欲しいので、これは避けようが無いです。
https://assetstore.unity.com/packages/tools/modeling/runtime-transform-handles-65363

バージョンは今見たら2.11になってました。
私のローカル作業環境より新しくなってるようです。

■FinalIK
IK操作したいなら入れるしかありません。
要らなければ関連個所をコメントアウトで行ける気がします。(未確認)
https://assetstore.unity.com/packages/tools/animation/final-ik-14290
今回は入れました。

■PuppetMaster
これが必要な人は少ないと思うので関連個所をコメントアウトします。
LoadFileのusingとSetRagDollメソッドの中身をコメントアウトします。

■TriLib
これは元々おまけ機能的に入れていたのでコメントアウトします。
LoadFileのusingとTriLibメソッドの中身をコメントアウトします。

■Let's Tweet In Unity
これも別に必須ということはないと思うので削除します。
SendTwitter.csを削除します。

■その他
この辺は気にせず入れましょう。
VRMLoaderUI
UnityWindowsFileDrag&Drop
UnityStandaloneFileBrowser

■UnityWindowsFileDrag-Dropのエラー対策
2020/09/03時点の最新版と私が使っているもので差分があるようです。
LoadFileのOnEnableとOnDisableの変更が必要です。
UnityWindowsFileDrag-DropのImageExampleが参考になります。

■TMP Importer
シーン(main)を開くとウィンドウが出てきます。
ボタン2個ともクリックしときます。

■まとめ
これらの作業をすることでビルドできることを一応確認しました。
削除した部分などは当然動きませんし、テストは不十分ですから不具合は色々あると思います。
build
© Unity Technologies Japan/UCL

vrm_dollplaypcver's People

Contributors

xelloss120 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

karukaru808

vrm_dollplaypcver's Issues

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.