Difference between revisions of "Set Character Velocity (LogiX node)/ja"
Jump to navigation
Jump to search
(Created page with "== 使用方法 == <code>Velocity</code> のデフォルトは [0;0;0] です。") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
− | + | <code>OnDone</code> 出力は、<code>Apply</code> で受け取ったインパルスの結果として入力 <code>Character</code> の線速度が設定されたときにインパルスを出力します。有効な<code>Character</code>入力がない場合、インパルスは出力されません。 | |
− | + | 入力の<code>CharacterController</code>が影響を受けるためには、<code>Apply</code>で受け取ったインパルスが、参照するCharacterControllerコンポーネントに設定された<code>SimulatingUser</code>により所有されていなければならないことに注意してください。解説は[https://github.com/Neos-Metaverse/NeosPublic/issues/3197#issuecomment-944923044 FrooxiuのGitHubでのコメント]を参照ください。 | |
− | == | + | == 例 == |
− | == | + | == ノードメニュー == |
[[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 | + | {{:NodeMenu-Physics}} |
Latest revision as of 03:57, 20 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でのコメントを参照ください。