Difference between revisions of "Apply Character Impulse (LogiX node)/ja"
(Created page with "<code>OnDone</code> 出力は、<code>Apply</code> で受け取ったインパルスによって入力 <code>CharacterController</code> の速度が変化したときにイン...") |
(Created page with "<code>IgnoreMass</code> が False の場合、<code>Character</code> の速度の変化は、入力された <code>Impulse</code> を CharacterCollider の有効質量で割...") |
||
Line 19: | Line 19: | ||
− | + | <code>IgnoreMass</code> が False の場合、<code>Character</code> の速度の変化は、入力された <code>Impulse</code> を CharacterCollider の有効質量で割った値になります。<code>IgnoreMass</code> がTrueの場合、<code>Character</code>の速度の変化は入力の<code>Impulse</code>と同じになります。 | |
Note that for the input <code>CharacterController</code> to be affected, the impulse received at <code>Apply</code> must be owned by the <code>SimulatingUser</code> set in the referenced CharacterController component. For an explanation, see [https://github.com/Neos-Metaverse/NeosPublic/issues/3197#issuecomment-944923044 Frooxius' comment on GitHub] | Note that for the input <code>CharacterController</code> to be affected, the impulse received at <code>Apply</code> must be owned by the <code>SimulatingUser</code> set in the referenced CharacterController component. For an explanation, see [https://github.com/Neos-Metaverse/NeosPublic/issues/3197#issuecomment-944923044 Frooxius' comment on GitHub] |
Revision as of 05:09, 15 February 2022
Apply Character Impulse | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Impulse | |
CharacterController | Character | |
Bool | IgnoreMass | |
Outputs | ||
Impulse | OnDone |
Apply Character Impulse ノードは、Apply
へインパルスを入力すると、入力 Character
CharacterController (Component) の線速度を入力 Impulse
の値に比例して変化させるノードです。
使用方法
IgnoreMass
入力は、関連するコライダー (Character
と同じスロットになければならず、タイプ CharacterController
を持っていなければなりません) の質量フィールドが、結果の速度を計算するときに考慮されるかどうかを決定します。Falseの場合、Character
のMassScaling Enum値も考慮され、Character
スロットのグローバルスケールでスケーリングされた有効質量の値が計算されます。デフォルトはFalseです。
OnDone
出力は、Apply
で受け取ったインパルスによって入力 CharacterController
の速度が変化したときにインパルスを発生させます。有効なCharacterController
入力がない場合、インパルスは出力されません。
IgnoreMass
が False の場合、Character
の速度の変化は、入力された Impulse
を CharacterCollider の有効質量で割った値になります。IgnoreMass
がTrueの場合、Character
の速度の変化は入力のImpulse
と同じになります。
Note that for the input CharacterController
to be affected, the impulse received at Apply
must be owned by the SimulatingUser
set in the referenced CharacterController component. For an explanation, see Frooxius' comment on GitHub