Lets see how should i say this… I have Object1 and Object2 and I want Object2 to follow Object1 but not on the z- axis. I dont want to accomplish this by making Object2 a child of Object2. Im still learning how to code. I need to somehow have a script that reads the x and y location of Object1 and make Object2 go there. I think this will require 2 scripts but im still trying to wrap my head around calling another script inside a script.
oh and im much more familiar with javascript than c# so if i could get some help in javascript that would be preferable.