Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Bitmap:setAnchorPoint or Sprite:setAnchorPosition - Gideros Forum

Bitmap:setAnchorPoint or Sprite:setAnchorPosition

What is the difference between the two methods Bitmap:setAnchorPoint or Sprite:setAnchorPosition? The former seems to offset the texture and the latter seems to offsets the origin of the sprite. What are the differences and more importantly what are the usages of those methods?
I kind of think both could be used to displace the origin of a sprite to make it rotate and scale around it but I don't see very well when to use one or the other.


Sign In or Register to comment.