Okay, so I’m new to using transforms, and they’ve been working great for me so far, but I can’t figure out what’s going on.
I’m building a projectile system for my game, and I’m Instantiating a bullet scene that I made, and giving it a direction using -root_node.basis.z(which works), but I’m having trouble setting the bullets location to be in front of the root_node.
global_transform.origin is global_position so you are setting the instance’s position to a unit vector. You could add the node’s position to the unit vector to get an offset and even multiply it to get further the offset.