Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / 2dshape collision not attaching to sprite after being use with FixSpriteToSkeleton2D()? Bug?

Years of Service
User Offline
Joined: 20th Jun 2013
Posted: 4th Dec 2023 03:43
as the title suggested, the 2d collision is no longer attached to the sprite after using FixSpriteToSkeleton2D().

I have the code use with the spine demo project to prove it below.

The circle is suppose to be where the white square is, but it is doing thing on it's own?

Any help appreciated!
Years of Service
User Offline
Joined: 12th May 2018
Location: Nova Scotia
Posted: 5th Dec 2023 22:41
Quick guess is collision is looking at the spine's coordinates and not considering the sprite's offset from the spine.

Can try testing GetSpriteX() vs GetWorldXFromSprite() ->
Automation on Steam now!
Score Table Jr. on Google Play!

Login to post a reply

Server time is: 2024-04-13 03:59:26
Your offset time is: 2024-04-13 03:59:26