ArcadixInfotech

Members
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by ArcadixInfotech


  1. Hello,
    I am working on a project where i can drag an object in X-direction only(like in a abacus).
    Is it possible to drag objects in one direction only?

    I created a simple task where i can move two objects with mouse (link here).
    The issue is that objects are pushing inside each other if i drag one object to another.
    I need them to be hard like diamond.

    312425359_2018-05-0816_22_22-MicrosoftEdge.png.905393d1d7c0a8f3941f39758bc2b6ad.png
    Can i achieve that with p2 js or i have to use box2d plugin (like here).
    Also is box2d will be availabe in phaser v3.

    Thanks