get_rect does not handle sprite rotations, get_AABB accounts for rotations.
Examples:
test\test_rect.py
test\test_sprite_aabb.py
On Tue, Jul 17, 2018 at 9:12 AM, <[email protected]> wrote:
> I have checked the online document for Sprite introduction, but still
> confused about the two functions difference.
>
> So, could someone explain to me the detailed differences for them?
>
> Thank you so much.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cocos2d discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/cocos-discuss.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/d/optout.