- Home /
Question by
ffl999999 · Sep 21, 2020 at 10:04 PM ·
objectvector3translation
Object shows up on canvas until moved then disappears despite other objects at same position showing up?
I currently have two rectangles I'm working with in unity. One rectangle moves and has another object attached at the very end. Once the first rectangle moves I get the location of the object attached at the very end and I use transform.position and vector3 to move the 2nd rectangle to that spot. However, once that happens the second rectangle completely disappears. I have some debugging code running that shows that the position of the object attached to the end of the rectangle and the the second rectangle end up at the same spot and the second rectangle is on top and much larger so it isn't being blocked.
If any one had any suggestions or help that would be great, thank you so much! :)
Comment