How do I make an object attached by a rope with Revolute Joint turn towards the player? [SOLVED]

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Hi guys!

    I have the following problem in Construct 2: I have an enemy stuck in a rope made up of five objects (rope) and an Anchorpoint at the top (immobile, which holds the first rope). When the enemy is facing the player on the left side, it is correctly connected to the last rope by the Imagepoint, but when it is facing the right side, it is displaced several pixels.

    - All 6 objects have Physics behavior.

    - All of them have Imagepoints configured (strings with two IPs) and the others have just one.

    - I've already tested it with mirroring and it gave the same problem.

    Below is the image for a better understanding of the issue:

    And below is a print of the routine:

    How can I solve this problem?

    Tagged:

  • Make sure that both animations are identical in size, collision polygon and image points.

    If that doesn't help, I suggest making the enemy invisible and using a separate sprite (without physics) with the animations. You can attach it to the enemy with hierarchy.

  • Make sure that both animations are identical in size, collision polygon and image points.

    If that doesn't help, I suggest making the enemy invisible and using a separate sprite (without physics) with the animations. You can attach it to the enemy with hierarchy.

    Yes, they are. But even so, this strange behavior is happening. :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I solved just adjusting every Imagepoint of each frame of the enemy's animation. :)

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