Collision accuracy issue (physics)

0 favourites
  • 2 posts
From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • Hi,

    That's something I tried to get rid of, for a long time... Precisely, since I've decided to make a game involving physics.

    If some of you could have a quick look at this test demo, they will notice that sometimes, the balls are moving THROUGH the enemies, like if the collision was ignored.

    http://dl.dropbox.com/u/63083711/index.html (made with r80)

    I know, the collision problem occurs pretty rarely but as you can see, it occurs *asometimes*... and even if it's rare, I cannot let it unfixed, it can ruin some gameplay situations.

    Is this a known issue? (collision lacking of accuracy when physics are involved -and in scripted movement?-) For a game like mine, this is a pretty frustrating (almost discouraging) issue that I don't know how to fix by myself. I seriously don't know where the problem can come from. It should work...

    Two words and one emoticon: please help <img src="smileys/smiley19.gif" border="0" align="middle">

    Rag'

    PS: note that the ball and the enemies are not animated (the animated objets follow the physical objets).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Have you read the Physics basics tutorial, specifically the section on manual movement & other behaviors? Using events or other behaviors to move or rotate physics objects causes them to "teleport" in the Physics simulation, and often this results in glitches or Construct 2 struggling to synchronise your manual changes with the physics simulation. To guarantee a stable simulation you must never alter a Physics object other than applying forces, impulses or torque. This is not a bug, it's impossible to make physics simulations work smoothly when events are constantly altering the physics objects.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)