Base Layer
On the base layer, you need to do following,
- Make “InStation” bool, this will be used to detect you are while dancing or not.
- Make Any to State1 (Enable MMD mode by InStation bool true) and State2 (Disable MMD mode by InStation bool false) to put everything back before Exit.
- On State1, you need to force VRC Animator Tracking Control to Full Animation this will make sure your avatar moves without tracking your input.
- On State1, you also need to disable Locomotion, this is to prevent some fault input.
- On State2, you need to put it back as it is before. (Settings depends on your favour, find your best with debug menu.)
*As empty motion cause issue, please put empty animation on State1 and default animation or empty animation on state2.
Base Layerでする必要があること
- “InStation” というboolを作成します。このboolでダンス中かを判断します。
- Anyからステート1(MMDダンスモードON、InStation bool True) 、ステート2(MMDダンスモードOFF、InStation bool False) 、Exitの構成を作ります。
- ステート1でVRC Animator Tracking ControlをAnimationでオーバーライドします。(これでユーザーの入力操作を無効化します。)
- 同じくステート1でLocomotion ControlをDisableします。これは不慮の操作を防止するために行います。
- ステート2には上記2つの操作を戻す設定を入れます。(ユーザーごとの好みを見つけてください。Debug Meuを活用すると早いかも?)
*Motion欄が空白だとバグが発生する可能性があるのでステート1には空アニメーションをいれてください。またステート2には元のアニメーションか空アニメーションをいれてください。
No Comments