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] です。
The OnDone
output fires an impulse when the linear velocity of the input Character
has been set as a result of an impulse received at Apply
. No impulse will be fired if there is no valid Character
input.
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