Set Character Gravity (LogiXノード)
Jump to navigation
Jump to search
Set Character Gravity | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Gravity | |
CharacterController | Character | |
Outputs | ||
Impulse | OnDone |
Set Character Gravity ノードは、入力された Character
CharacterController (Component) の Gravity
フィールドの値を入力 Gravity
ベクトルで上書きします。
使用方法
Gravity
の入力のデフォルトは[0;0;0]で、これは重力がないことに相当します。
OnDone
出力は、入力 Character
の Gravity
フィールド値が Apply
で受け取ったインパルスの結果として設定されたときにインパルスを発生させます。有効なCharacter
の入力がない場合は、インパルスは出力されません。
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.