Difference between revisions of "Set Character Velocity (LogiX node)/ja"
Jump to navigation
Jump to search
(Created page with "== 例 ==") |
(Created page with "== ノードメニュー ==") |
||
Line 22: | Line 22: | ||
== 例 == | == 例 == | ||
− | == | + | == ノードメニュー == |
[[Category:LogiX{{#translation:}}|Set Character Velocity]] | [[Category:LogiX{{#translation:}}|Set Character Velocity]] | ||
[[Category:LogiX:Physics{{#translation:}}|Set Character Velocity]] | [[Category:LogiX:Physics{{#translation:}}|Set Character Velocity]] | ||
{{:NodeMenu-Physics{{#translation:}}}} | {{:NodeMenu-Physics{{#translation:}}}} |
Revision as of 08:15, 15 February 2022
Set Character Velocity | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Velocity | |
CharacterController | Character | |
Outputs | ||
Impulse | OnDone |
Set Character Velocityノードは、Apply
へインパルスを入力したとき、入力 Character
CharacterController (Component) の直線速度を入力 Velocity
で上書きします。
使用方法
Velocity
のデフォルトは [0;0;0] です。
OnDone
出力は、Apply
で受け取ったインパルスの結果として入力 Character
の線速度が設定されたときにインパルスを出力します。有効なCharacter
入力がない場合、インパルスは出力されません。
入力のCharacterController
が影響を受けるためには、Apply
で受け取ったインパルスが、参照するCharacterControllerコンポーネントに設定されたSimulatingUser
により所有されていなければならないことに注意してください。解説はFrooxiuのGitHubでのコメントを参照ください。