How do I improve distance joint performance?

  • I made chain object, using distance joints. When I start layout everything goes smoothly but after one min ( or something ) performance badly crash. Time seem only reason why this happen. I can shoot, move objects and so on and everything goes smoothly but after some time performance crash. This happen even if i don't do anything. Just start that layout and wait.

    Any idea how to fix this?

  • Have you tried the debug to see what is flooding your memory (I would guess that's what it is)

    Without seeing the capx, it's really impossible to say what is going on..

    Could be you are creating objects every tick..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • on start physics simulation seem use like a 2% CPU and when time goes forward it go up until reach 100% and crash.

    But actually you helped me already =) I change "every tick = create physics distance joint" to "start of layout= create physics distance joint" and everything go smoothly.

    so thank you! =)

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