Question by
ozeol · Sep 22, 2021 at 12:05 PM ·
unity 2dtransform.position
Transform.position and transform.localPosition don't work on my game object
I'm not sure what the issue is, all other settings on this game object run fine except setting the position.
GameObject Armor = transform.Find("Root/Pos_Hip/Bone_Hip/Armor").gameObject;
Armor.transform.localPosition = new Vector3(0f, 3f, 0f);
Comment
Your answer
Follow this Question
Related Questions
how to make an object move in a rectangle path 1 Answer
How to check if dragged object collide with other object? 0 Answers
Why do prefabs overlap each other? 0 Answers
Missing Reference Exception 1 Answer