Physics

This forum is currently in read-only mode.
From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • Hello, I'm having a little trouble with the physics engine. I'm using several copies of a single sprite object for my terrain. I have it set to immovable and the collision mask set to the bounding box. Now this works fine if all of the sprites are the same size. However, the results get wonky if I have terrain sprites of different sizes all over the place. The collision mask will still exist but it wont be anywhere near the sprite.

    <img src="http://i46.tinypic.com/23r333a.png">

    Using the bounding box works great for the platform movement though. Is this a bug? Should I just make a different sprite for each size of terrain I want?

  • I have successfully done what you are doing here chap, check you haven't got things on different layers etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The physics behavior generates its map at the beginning of the layout, so if you change a size of a sprite after that it will still use the original dimensions.

  • Actually I figured out what it was. My hotspot was way off center and that was causing it to do weird stuff. Thanks for trying to help though.

  • Heh, yeah we've all done that before, don't feel bad. It's easy to miss when your first starting out.

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