GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Collision clipping? Bug or software limitation?

TouchiMediaTouchiMedia Posts: 154Member
Greetings,

I'm working with a few circle 'actors' and square 'actors' with physics / collisions detections. I also have platforms.

Right now, I haven't published, but testing it in gamemaker - for the most part the physics are happening as expected. But other times, the actors will go through each other. I control the 'actors' with the touch and drag - also can 'throw' by touching then releasing in a motion and the actor goes in given direction. Problem, sometimes actors will go through the platforms. I have quadrupled check everything. Platforms are non-moveable, actors are. The tags and collisions are all setup correctly.

It works 90% of the time, and often the clipping occurs in faster then normal motion. But sometimes the actors will be going normal rate and still clip through. Is this just limitations of software with physics or am I missing a hidden feature? Also - Will it be better once I publish? Is there some kind of memory leakage going on with built-in viewer?

Any help / input greatly appreciated!

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Posts: 9,913Member
    Try increasing the density of the non movable actors make the value larger than the actor colliding with it. But yeah the collision physics engine in GS needs improvement.
  • TouchiMediaTouchiMedia Posts: 154Member
    edited May 2013
    That didn't help but thanks..

    The actual physics work nicely. But collision detection clips sometimes, it almost seems random but mostly when 'tossing' speed is faster then normal. But I have noticed it also sometimes when they just drop from a distance, they will go through platform. I'll restart, and it'll collide like normal. Preventing me from completing my game ={

    Is there a continuous collision detection option available or being planned? I have found work arounds for every issue I've had but this one seems to keep popping up..

    Appreciate the input/help
  • dzataradzatara Posts: 0Member

    experiencing a very similar problem... when is this going to be fixed?? my game is currently very glitchy due to this :(

  • CasualEvolutionCasualEvolution Posts: 413Member, PRO

    I recommend the same as The_Gamesalad_Guru, raises the value of density, but at a really high number :)

  • dzataradzatara Posts: 0Member

    i raised the density of the actor value by 100, and it does seem to help.
    Thanks casualevolution

  • tatiangtatiang Posts: 11,791Member, Sous Chef, PRO, Senior Sous-Chef

    Not 100... more like 10,000.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • CasualEvolutionCasualEvolution Posts: 413Member, PRO

    Nothing to thank, the response was from The_Gamesalad_Guru, I just thought why your answer not helped you ... remember, it's free to try the appropriate value of a variable :)

  • ArmellineArmelline Posts: 4,752Member, PRO

    If you are moving the actor by constraining it to some kind of touch, then collisions will not occur while the constraint is active. If you're sometimes releasing the touch before the collision occurs and sometimes not (due to fast swiping), that might be why it is sometimes colliding and sometimes not. There are ways to avoid it, so if that turns out to be your problem I'll explain/point you to an explanation.

Sign In or Register to comment.