Jump to content

Phaser P2 Physics fixedX/fixedY?


mrkstwrt
 Share

Recommended Posts

When using p2.js bodies have fixedX and fixedY properties which prevents movement on the given axis. It seems to me that when using p2 physics in Phaser-CE I'm unable to access these properties on a sprite body although fixedX and fixedY exist inside the source (here).

 

Am I doing something wrong? I've noticed body.data DOES contain these properties although setting them to true has no effect.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...