I have been enjoying and learning how to use geometry node for a couple of days now, I have however reached a problem that I was unable to find a solution or an answer for.
Is it possible to get the global position and modify it in Geometry node instead of local position?
From my tests, Object Info Location Original/Relative still works using local position with original using the local direction and position of points while the relative is using the local direction and position of the original geometry. I am trying to find the World/Global position
Unfortunately, you have to change the object in the object info node manually for every object you add the node tree to, as at the moment there’s no way of getting the current object.
Hope that helps!
Geometry nodes are meant to operate in object space, this is by design. Until matrix nodes come in, I’m not sure it’ll be possible to convert from object to world space. It’s possible in the simplest cases where there isn’t any rotation by adding the position values together, but a bit limited.
If you totally messed up your object’s local space, you could also do something like the ‘remove local’ group on the right to remove the objects transforms from its attributes.
Note that you’d need to do this for every transformed parent of your geometry, so its getting complicated very quickly.
These kinds of space changes also artificially inflate the graph and make it horrible read.
You could also just import every object into a ‘clean’ object and simply use their transforms (the ‘remake local’ group) in a world like space. That would at least remove the need to counter the local transforms on every single transformation.