Difference between revisions of "Apply Character Impulse (LogiX node)/ja"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "== 使用方法 == <code>IgnoreMass</code> 入力は、関連するコライダー (<code>Character</code> と同じスロットになければならず、タイプ <code>Char...")
(Created page with "<code>OnDone</code> 出力は、<code>Apply</code> で受け取ったインパルスによって入力 <code>CharacterController</code> の速度が変化したときにイン...")
Line 16: Line 16:
  
  
The <code>OnDone</code> output fires an impulse when the velocity of the input <code>CharacterController</code> has been changed as a result of an impulse received at <code>Apply</code>. No impulse will be fired if there is no valid <code>CharacterController</code> input.
+
<code>OnDone</code> 出力は、<code>Apply</code> で受け取ったインパルスによって入力 <code>CharacterController</code> の速度が変化したときにインパルスを発生させます。有効な<code>CharacterController</code>入力がない場合、インパルスは出力されません。
  
  

Revision as of 05:09, 15 February 2022

Other languages:
English • ‎日本語
Apply Character Impulse
'Apply Character Impulse' LogiX node
Inputs
  Impulse Apply
  Float3 Impulse
  CharacterController Character
  Bool IgnoreMass
Outputs
  Impulse OnDone

Apply Character Impulse ノードは、Applyへインパルスを入力すると、入力 Character CharacterController (Component) の線速度を入力 Impulse の値に比例して変化させるノードです。

使用方法

IgnoreMass 入力は、関連するコライダー (Character と同じスロットになければならず、タイプ CharacterController を持っていなければなりません) の質量フィールドが、結果の速度を計算するときに考慮されるかどうかを決定します。Falseの場合、CharacterのMassScaling Enum値も考慮され、Characterスロットのグローバルスケールでスケーリングされた有効質量の値が計算されます。デフォルトはFalseです。


OnDone 出力は、Apply で受け取ったインパルスによって入力 CharacterController の速度が変化したときにインパルスを発生させます。有効なCharacterController入力がない場合、インパルスは出力されません。


If IgnoreMass is False, the change in velocity of the Character is the input Impulse divided by the CharacterCollider's effective mass. If IgnoreMass is True, the change in velocity of the Character is the input Impulse.

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