Image Shape Problems
Time
Member Posts: 113
I got an image but it doesn't fit the entire rectangle/square shape (when you drag an image on to the screen and click it, you can see the borders), it looks really bad when colliding with other things. How can I fix this without changing my image? I tried making it a circle and it doesn't collide properly and I tried constraining things to it but then the collide doesn't work properly, does anybody know what to do? I'm very stuck.
Comments
Skype: theccpixel
Changing to a Circle Collision shape issue is actually interesting. GS will set you up with a rectangular collision shape by default on all actors. If you have a rectangular actor, lets say w100 x h50. then your collision shape will be that size. If, during the creation of your actor, you change to Circle collision shape, the Circle will be of 50px Diameter (25px radius). Meaning that collision will not occur with other objects until you reach 25px from the actors center. This is because the circle will only extend out to the smallest value in your actors dimensions.