- Home /
Question by
Delacroz · Jul 04, 2020 at 03:04 AM ·
rotaterotate objectrotatearound
I want to use LookAt but based on the object original rotation
In my game I have a lot of items that my player can grab, rotate and throw, when he grabs the object I want that the object be looking at the player but if he rotate when it is grab, I want that it keep this rotation but still looking to player
Comment
Answer by UnityedWeStand · Jul 04, 2020 at 09:45 AM
You could just make the "grabbed" gameobject a child of the player gameobject. No matter its original rotation or how it is rotated after it is grabbed, it should still follow the player's movements.