On Collision Stay (LogiXノード)

From Neos Wiki
Revision as of 05:28, 15 February 2022 by Aesc (talk | contribs) (Created page with "== 使用方法 == <code>Other</code> 出力は、入力 <code>Collider</code> と衝突しているコライダを出力します。この値は、<code>OnEvent</code>から...")
Jump to navigation Jump to search
Other languages:
English • ‎日本語
On Collision Stay
'On Collision Stay' LogiX node
Inputs
  ICollider Collider
Outputs
  Impulse OnEvent
  ICollider Other

On Collision Stayノードは、Other コライダーが入力 Collider と衝突している間、毎フレーム OnEvent からインパルスを発生させます。

使用方法

Other 出力は、入力 Collider と衝突しているコライダを出力します。この値は、OnEventから始まるインパルス連鎖の間、利用可能です。


The OnEvent impulses from On Collision Stay start the frame after an impulse would be fired by On Collision Start (LogiX node), i.e. the frame after the Collider and Other start collding.

Note that, in general, collisions where neither collider is a CharacterController (Component) will generate an impulse from OnEvent for each user in a session. This usually requires filtering the impulses such that only the ones for relevant users propagate to downstream nodes. For collisions where the Other collider is a CharacterController an impulse will only be fired for the CharacterCollider's SimulatingUser.

Examples

Tutorial from ProbablePrime on the collider event nodes:

Node Menu

NodeMenu-Physics/ja