0 Favourites

Pinning physics objects

  • Dropbox link

    More collision woes, lol

    I'm not sure yet if this is a bug or... but it seems that with 2 physics enabled objects pinned together some wonky s**t happens.

    For one pinning just flat out doesn't work. And second, collisions aren't being handled properly between anything at all. The blue box goes nearly all the way through the purple one.

    Things to try:

    Make the blue box immovable.

    Remove physics from the blue box. This makes things perform normally, but what if you wanted collisions between the 2 big boxes?

    Disable collisions between the green box and the orange one... what the heck? Now nothing collides.

    I have no idea why any of this is happening. Anyone have a clue?

  • Is something happening to the blue box's collision polygon once it's pinned to another sprite or something?

    It seems like the green box's collision polygon is almost overwriting the blue one in some cases.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Okay, I seemed to have fixed this issue by getting rid of pinning altogether and instead creating a limited revolute joint to connect the objects together.

    I read the physics tutorial (I swear!) but it didn't mention the limited joint...and for whatever reason I just never noticed it in the event editor.

    Still not sure why pinning doesn't work though.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
1,941 263,377
FlyingRam's avatar
Unread hot topic
0 Favourites
[BEHAVIOR] Chipmunk Physics
673 82,529
nelostic's avatar
Unread hot topic
0 Favourites
[BEHAVIOR] Sonic Physics
126 31,180
Ostrich10164's avatar