Arborを使って何をしようとしているか。
キャラクターがジャンプをしている間、上昇中か下降中かによってアニメーションを変更する。
具体的にどこが不便で困っているか。
「Jump」ステートに CalcAnimatorParameter を追加し、Animator の「VerticalSpeed」(float) を設定、そこにキャラクターの Rigidbody2D の velocity.y の値を流すというフローを組んだのですが、CalcAnimatorParameter ではステートに遷移したタイミングだけしか実行されないため、ジャンプの最中に上昇から下降に転じるような場合にアニメーションを変更できません。
改善するにはどうすればよいか。
TransformSetPosition などにあるような UpdateTiming を、CalcAnimatorParameter でも設定できるようにしてほしいです。
CalcAnimatorParameter を毎フレーム実行できるようにしてほしい
Forum rules
The request period has ended.
The items required for the request are as follows.
要望受付は終了しました。
要望に必要な項目は以下の通りです。
The request period has ended.
The items required for the request are as follows.
- What are you trying to do with Arbor?
- Specifically, where are you inconvenient and in trouble?
- What should I do to improve?
- We can not answer requests that do not know the detailed situation.
- We can not answer your request for specific problems in the specification of your project.
- We can not answer your request on Unity's specification issues.
- We do not guarantee the implementation of your request.
要望受付は終了しました。
要望に必要な項目は以下の通りです。
- Arborを使って何をしようとしているか。
- 具体的にどこが不便で困っているか。
- 改善するにはどうすればよいか。
- 詳しい状況がわからない要望については答えられません。
- ユーザー様のプロジェクトの仕様上の固有の問題に対する要望については答えられません。
- Unityの仕様上の問題に対する要望には答えられません。
- 要望の実装を必ずお約束するものではございません。
CalcAnimatorParameter を毎フレーム実行できるようにしてほしい
- Attachments
-
- CalcAnimatorParameter.png (246.77 KiB) Viewed 16154 times
- caitsithware
- 管理人
- Posts: 503
- Joined: 2015/08/17 12:41
Re: CalcAnimatorParameter を毎フレーム実行できるようにしてほしい
ご要望ありがとうございます。
CalcAnimatorParameterの実行タイミングを指定できるようにするという要望ですね。
あると良さそうなので対応する方向で検討いたします。
CalcAnimatorParameterの実行タイミングを指定できるようにするという要望ですね。
あると良さそうなので対応する方向で検討いたします。
Re: CalcAnimatorParameter を毎フレーム実行できるようにしてほしい
助かります。どうぞよろしくお願いいたします。