collision size too large

Trapper74Trapper74 Member Posts: 45
edited November -1 in Working with GS (Mac)
Is there any way to control the size of the default rectangle/circle collisions or am i being a tad optimistic?

I am toying weather to add some collisions to one of my actors. The actor is a glowing circle but when set to collide (with each other, theres lots of them being spawned randomly) the collision occurs when the actors are quite far away from each other.

Ideally i want to scale it to the point inside the glow (the surface) but even just a bit smaller would make a lot of difference.

i did find a thread mentioning something about using a timer and a scale behaviour but when i tried this method (had trouble understanding what he was on about tbh) it didn't work.

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You have to crop all the transparent areas of the image off before loading it to GameSalad
    Otherwise it will collide with the transparent pixels too
  • Trapper74Trapper74 Member Posts: 45
    i thought that could possibly be the case, difficult when theres glow around the actor though, i guess this would be a perfect argument for being able to use separate collision maps.... but even some control over the size would be nice!

    i presume theres no way to make things glow in GS?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Nope sorry. You could constrain a separate glow actor to the main colliding actor or just a smaller invisible collision actor to your current actor and then have all of the collides happen in the smaller one. if you get many of hose going though you might hurt your games performance. You'll just have to play with it to see what works best for you.
  • micksolomicksolo Member Posts: 264
    invislbe collision on a seperate actor is the only way to go. Its one of those things I really hope GS implements soon, as it will help us make our games a lot better.
Sign In or Register to comment.