Physics joint created after positioning object, is buggy

0 favourites
  • 3 posts
From the Asset Store
characters sprites for creating a 2D action platformer or sidescroller game with cute, kawaii, fantasy theme
  • Problem Description

    position an object and then add joint causes it to have incorrect positions/jittering..

    Attach a Capx

    http://www.filedropper.com/alextemplatebuggy2

    Description of Capx

    it created a bunch of physics objects, connects them together, positions the last one to another and connects them.

    Steps to Reproduce Bug

    • run game and see the buggy connection

    Observed Result

    the connection on the end is buggy.

    Expected Result

    should not be jittering/repositioning like crazy

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    win vista

    Construct 2 Version ID

    r206

  • Closing as won't fix, this looks like a mistake in your events. Please also see the bug report requirements regarding providing a minimal .capx; this project has over 100 events, most of which are unrelated to the problem.

    The problem seems to stem from the first action of event 7 in the "Rope" sheet. It looks like you create a chain of objects going vertically down, then you just "set position" the last one to the destination position. As the physics tutorial describes, this effectively teleports the object, and since teleporting an object is a physically unrealistic thing to do the results are often also physically unrealistic. I think you need to find a better way to create the chain.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as won't fix, this looks like a mistake in your events. Please also see the bug report requirements regarding providing a minimal .capx; this project has over 100 events, most of which are unrelated to the problem.

    The problem seems to stem from the first action of event 7 in the "Rope" sheet. It looks like you create a chain of objects going vertically down, then you just "set position" the last one to the destination position. As the physics tutorial describes, this effectively teleports the object, and since teleporting an object is a physically unrealistic thing to do the results are often also physically unrealistic. I think you need to find a better way to create the chain.

    How come it worked in the past then? Since the update to the physics, it does not work.

    Kind of odd that we're not suppose to reposition a physics object. I think a lot of situations repositioning an object with physics makes sense. In a game , you need to teleport objects in a lot of cases. Games aren't suppose to be realistic.

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