Set Character Velocity (LogiXノード)
Jump to navigation
Jump to search
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
入力がない場合、インパルスは出力されません。
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