Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | 0sait05 |
How would I get the 3d position and use it to change a variable?
get_node("/root/Spatial/sfvm390wg").get_translation(by,bx,bz))
by = posdy
bx =posdx
bz = posdz
So are you trying to store the position or change the translation with variables? Because it looks like you’re trying to change the variables you just set.
xofox | 2019-10-02 15:50
I’m trying to get the position of object every frame and use it to store variables of position
that are changing.
0sait05 | 2019-10-02 15:55