Created page for Hit UV Coordinate node. |
m YoshBot moved page ProtoFlux:Hit UV Coordinate to ProtoFlux:HitUVCoordinate: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
|}} | |}} | ||
The <code>Hit UV Coordinate</code> node requires an ICollider to work, and returns if we hit anything and the UV coordinates of what we hit. | The <code>Hit UV Coordinate</code> node requires an [[Type:ICollider|ICollider]] to work, and returns if we hit anything and the UV coordinates of what we hit. | ||
== Usage == | == Usage == |
Latest revision as of 00:22, 21 August 2025
ProtoFlux Node
Physics
The Hit UV Coordinate
node requires an ICollider to work, and returns if we hit anything and the UV coordinates of what we hit.
Usage
This node is used frequently with Raycaster and Raycast One, as well as applications requiring lasers, pointers, or clicking on screens or mouse clicks and desktop-based gadgets.
Inputs
HitCollider (ICollider)
The collider we just hit.
HitTriangleIndex (int)
The numbered triangle in this mesh.
HitPoint (float3)
The point where we want to hit.
Outputs
UV (float2)
The point we hit on this surface of this mesh, giving the result as a UV coordinate.
IsValidUV (bool)
Check if we actually hit a valid collider to get the UV information.