- Home /
Sprite changing position during rotation...bug?
Something that I have noticed using the 2d tools, that could be a potential bug, is when I rotate a sprite object the position changes in the inspector. This only appears to happen with sliced sprite sheet sprite objects and not single sprite objects. Additionally these objects will "walk" over time and when in a hierarchy they move out of position causing arms growing out of chests and other such silliness.
Is something wrong with Unity or how I'm doing things being new to this?
One solution would be to have only single sprites, but it would make things take considerably longer.
I rebuilt the character model in question and it seems to not suffer from this affliction. There are two scripts attached that run in edit mode (SimpleCCD ik solver being one of them) but the new model has them too. I'm now just hoping for insight so this doesn't happen again in the future.
I didn't understand? Why was that happening? Same thing is happening to me. How did you solve it?
i didn't worked with sprite sheet but it might be matter of sprite pivot if not set to center so i don't know if it possible after slicing select each sliced sprite & set it's pivot .