- Home /
Change Sprite Origin in 2D
The origin is the position of the sprite's that is rotated on, and it's also an offset for the main position. Usually, the origin is at the center of all objects. However, inside the sprite/object's behavioral script, I would like to change the origin to the top-left corner, for an example. I would like to do this constantly throughout my game. How would I change the origin of a sprite/object inside the script?
Answer by Larry-Dietz · Jan 01, 2018 at 07:06 AM
Take a look at this thread. It gives a few different options. https://answers.unity.com/questions/1155508/move-sprite-pivot-dynamically-via-c-script.html
-Larry
Your answer
Follow this Question
Related Questions
Trying to rotate a 2D sprite 2 Answers
Rotate a 2D sprite towards target sprite? 0 Answers
Rotating Sprite Stretching Object 1 Answer
2D Sprite Rotation 0 Answers
Having Issues Rotating 2d Sprites to face another 2d Object 3 Answers