Set Character Velocity (LogiXノード)

From Neos Wiki
Revision as of 08:15, 15 February 2022 by Aesc (talk | contribs) (Created page with "<code>OnDone</code> 出力は、<code>Apply</code> で受け取ったインパルスの結果として入力 <code>Character</code> の線速度が設定されたときにイ...")
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Set Character Velocity
'Set Character Velocity' LogiX node
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

Examples

Node Menu

NodeMenu-Physics/ja