Set Character Gravity (LogiXノード)

From Neos Wiki
Revision as of 08:13, 15 February 2022 by Aesc (talk | contribs) (Created page with "<code>OnDone</code> 出力は、入力 <code>Character</code> の <code>Gravity</code> フィールド値が <code>Apply</code> で受け取ったインパルスの結果と...")
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Set Character Gravity
'Set Character Gravity' LogiX node
Inputs
  Impulse Apply
  Float3 Gravity
  CharacterController Character
Outputs
  Impulse OnDone

Set Character Gravity ノードは、入力された Character CharacterController (Component)Gravity フィールドの値を入力 Gravity ベクトルで上書きします。

使用方法

Gravityの入力のデフォルトは[0;0;0]で、これは重力がないことに相当します。


OnDone 出力は、入力 CharacterGravity フィールド値が 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.

Examples

Node Menu

NodeMenu-Physics/ja