Let Get position give only the local x and y
Get world position now covers the world coordinates. Two nodes that both offer world x and y made it unclear which one to take. No project uses the world outputs of Get position any more. - Get position drops its world x and world y outputs and its description points to Get world position. - Old snapshots with edges on those outputs still load. The edges hang on ghost ports and the node warns about them. - The unit tests in hierarchy and raycast and the graphs in e2e 43 use Get world position where they read the world coordinates. Tests: - node-catalog, hierarchy, raycast: 3 files, 417 tests, all green - e2e 43 on melektaus-atx: ALL PASSED, 17 checks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
526b1da7f4
commit
2da07599d8
5 files changed
+24
-28
No files matched your search
@@ -46,14 +46,14 @@ const eyeGraph = {
|
||||
nodes: [
|
||||
node('qe-update', 'OnUpdate', 0, 0),
|
||||
node('qe-owner', 'Owner', 0, 160),
|
||||
node('qe-where', 'GetPosition', 250, 160),
|
||||
node('qe-where', 'GetWorldPosition', 250, 160),
|
||||
node('qe-ray', 'Raycast', 500, 0, { dirX: 0, dirY: 1, length: 500 }),
|
||||
],
|
||||
edges: [
|
||||
edge('qe-e1', 'qe-update', 'exec', 'qe-ray', 'exec'),
|
||||
edge('qe-e2', 'qe-owner', 'object', 'qe-where', 'object'),
|
||||
edge('qe-e3', 'qe-where', 'worldX', 'qe-ray', 'fromX'),
|
||||
edge('qe-e4', 'qe-where', 'worldY', 'qe-ray', 'fromY'),
|
||||
edge('qe-e3', 'qe-where', 'x', 'qe-ray', 'fromX'),
|
||||
edge('qe-e4', 'qe-where', 'y', 'qe-ray', 'fromY'),
|
||||
],
|
||||
};
|
||||
|
||||
@@ -81,7 +81,7 @@ const allEyeGraph = {
|
||||
nodes: [
|
||||
node('qa-timer', 'OnTimer', 0, 320, { interval: 0.2 }),
|
||||
node('qa-owner', 'Owner', 0, 160),
|
||||
node('qa-where', 'GetPosition', 250, 160),
|
||||
node('qa-where', 'GetWorldPosition', 250, 160),
|
||||
node('qa-ray', 'RaycastAll', 500, 0, { dirX: 0, dirY: 1, length: 500 }),
|
||||
node('qa-count', 'Log', 750, 0),
|
||||
node('qa-distances', 'Log', 1000, 0),
|
||||
@@ -94,8 +94,8 @@ const allEyeGraph = {
|
||||
edges: [
|
||||
edge('qa-e1', 'qa-timer', 'exec', 'qa-ray', 'exec'),
|
||||
edge('qa-e2', 'qa-owner', 'object', 'qa-where', 'object'),
|
||||
edge('qa-e3', 'qa-where', 'worldX', 'qa-ray', 'fromX'),
|
||||
edge('qa-e4', 'qa-where', 'worldY', 'qa-ray', 'fromY'),
|
||||
edge('qa-e3', 'qa-where', 'x', 'qa-ray', 'fromX'),
|
||||
edge('qa-e4', 'qa-where', 'y', 'qa-ray', 'fromY'),
|
||||
edge('qa-e5', 'qa-ray', 'exec', 'qa-count', 'exec'),
|
||||
edge('qa-e6', 'qa-ray', 'count', 'qa-count', 'message'),
|
||||
edge('qa-e7', 'qa-count', 'exec', 'qa-distances', 'exec'),
|
||||
@@ -105,8 +105,8 @@ const allEyeGraph = {
|
||||
edge('qa-e11', 'qa-distances', 'exec', 'qa-log-name', 'exec'),
|
||||
edge('qa-e12', 'qa-name', 'name', 'qa-log-name', 'message'),
|
||||
edge('qa-e13', 'qa-log-name', 'exec', 'qa-one', 'exec'),
|
||||
edge('qa-e14', 'qa-where', 'worldX', 'qa-one', 'fromX'),
|
||||
edge('qa-e15', 'qa-where', 'worldY', 'qa-one', 'fromY'),
|
||||
edge('qa-e14', 'qa-where', 'x', 'qa-one', 'fromX'),
|
||||
edge('qa-e15', 'qa-where', 'y', 'qa-one', 'fromY'),
|
||||
edge('qa-e16', 'qa-one', 'exec', 'qa-log-one', 'exec'),
|
||||
edge('qa-e17', 'qa-one', 'distances', 'qa-log-one', 'message'),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user