So, right now I'm working on a Unity game where if you click on an item, it will become the child of the click object. The click object is also the child of the player and moves with the player, but the object that gets clicked (making it the child of the click object) just stays where it is. Even if you move. I don't know why it doesn't move with the player, does anyone know why?
Asked
Active
Viewed 2,465 times
-1
-
maybe [static](https://docs.unity3d.com/Manual/StaticObjects.html) is checked? – rustyBucketBay Jul 26 '21 at 20:52
-
1Does it have a rigidbody attached? – JDormer Jul 26 '21 at 20:54
-
Is another script setting the transform.position of the child every frame? – Charly Jul 27 '21 at 00:22
-
None of these are the issue. It has a rigidbody 2d that is set to dynamic. – ThatWeirdGameDev Jul 27 '21 at 01:10