Add posititons relative to transform

i’m trying to add a vector3 to the transform.position but the new position doesnt rotate with it…

i dont exactly know how to explain my problem but i hope the pictures help109402-myproblem.png

Looks like instead of using transform.position you need to use transform.localPosition.

ok i found a solution
i just added empty game objects to my object and take their position in the script… it was too simple for me to do this at the first time…