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 Classic Chat / SetSpriteShapePolygon Compound Shapes

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Apr 2012 12:08
How do I create compound shapes in SetSpriteShapePolygon ?

If I attach 2 shapes to 1 sprite, only the last shape is active, as it overrides the first one.

Are there some other commands to do this?
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Apr 2012 12:14
There is a command AddSpriteShapePolygon that does the job!

However the additional shapes are only valid for Physics not for calculating sprite hits

Login to post a reply

Server time is: 2024-11-23 07:34:49
Your offset time is: 2024-11-23 07:34:49