I have a gamobject that should be rotated by a transform euler angle, it does rotate but not in the original position, is this something to do with pivot? how to fix it? thanks
Usually it’s easier to create an empty object and child the model to it, so you can adjust the model local position and rotation the way you want:
Bottle <- this is the empty object
Model <- this is the model childed to the Bottle object
It’s better to use the Bottle object for everything - attach the scripts to it, add the collider, rigidbody, etc. - thus the model becomes just a visual item, doesn’t interfering with the object movement and rotation.