Jump to content

Question about physics.world.wrap function for matter physics


rscott442
 Share

Recommended Posts

Hi All,
To wrap gameobjects around the screen for asteroids clone, I have used arcade physics from asteroids movement.js example.

this.physics.world.wrap(sprite, 32);


Do you know if I can find or develop a similar function that will work for matter physics?
Something like...

this.matter.world.wrap(sprite, 32);
 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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