Follow

If you have a @unity3@twitter.com GameObject obj, then obj.transform is [another reference to] the Transform object. Within that, though, position is a struct property, so obj.transform.position gets you a COPY of the position. You must modify your copy, then obj.transform.position = copy.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.