Need help with blocks falling when disconnected

  • I am making a sidescrolling survival game, where you build shelter from materials around you, and i want to implement destrucion, like when a group of blocks are disconected and suspended above nothing, it activates physics, and they all fall.

    Heres a great example

    youtube.com/watch

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My approach would be to use multiple behaviors on the blocks. Like the video, I would use physics in combination with pin behaviors. When a block is removed and the Y position of any block changes, pin can be disabled and physics can be enabled. It also depends on the specifics of your game.

  • My approach would be to use multiple behaviors on the blocks. Like the video, I would use physics in combination with pin behaviors. When a block is removed and the Y position of any block changes, pin can be disabled and physics can be enabled. It also depends on the specifics of your game.

    I dont get when the y position changes. How would it change if physics isnt enabled

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