well I had a game object (a) the child of game object (b) and in code i simply set it's parent to null but after this (a) game object position and rotation does not change which means it travels to another place because it's local space has changed to world space and the problem is in code when i print both local space and world space of the game object(a) both print the same value which is it's position in world space before de-parenting actually i want the game object (a) not to change it's position but it changes and unity says it has not change!!! ,
↧