Collision Polygon Problem

0 favourites
  • 5 posts
From the Asset Store
Particles support animations, collisions, effects and etc.
  • Since im not sure if its a C2 bug, i post my problem here.

    I have a map(4200x1080) with a detailed Collision shape.

    <img src="http://puu.sh/4QObJ.png" border="0" />

    And a Unit

    <img src="http://puu.sh/4QOjZ.png" border="0" />

    That moves with this event:

    <img src="http://puu.sh/4QOua.png" border="0" />

    But what happens, is that it gets stuck IN the map.

    i already tried with a less detailed Shape, sometimes it work, sometimes not.

    To be more Precise, the Unit drives more and more down into the map.

    But when the Collsion shape at where that happens only is a straight line, it moves completely normal.

    Heres when it gets stuck:

    <img src="http://puu.sh/4QOxc.png" border="0" />

    Here is the Shape where it gets stuck, can anyone identify my problem?

    <img src="http://puu.sh/4QOH6.png" border="0" />

    I would post a CapX if there werent too much or unfinished stuff in it.

    If you need more information, np, just say what you need.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had a similar problem before when "riding" on a solid object. Guess this happens on ascending slopes.

    You can try to give the moving object a security border for physics, that it always holds a margin of 1px to the ground. Another idea is, to use a physics velocity of Y too, like (57,-1).

    Tell me if it works for you.

  • xeed Just tried both methods, no affect...

    Although it seemed logical with the velocity of Y.

  • Would you send the capx?

  • xeed I sent you a pm with a CapX.

    (Not the one with the exact problem, since 400mb is too much to upload.)

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