|
Hello. How can I get the position of another object (rather than always using a specific vector 3)?
(comments are locked)
|
|
I don't understand what you mean. Position in Unity is stored as a Vector3 so you must use a Vector3 somehow. There are plenty of ways to get the position. The easiest and probably best would be simply.
That's what I thought, but didn't want to be wrong, haha.
Dec 23 '10 at 03:57 AM
Justin Warner
Sorry to be unclear. I meant not having to always use the same position (like 100,0, 25) and would instead just have to select another object (so if that object moved, the position in the script would change to reflect that).
Dec 23 '10 at 04:12 AM
Tyler 2
(comments are locked)
|
