Jump to content

How to swing back and forth of Arcade physics body?


naveen
 Share

Recommended Posts

This style of physics usually requires a constraint or gravity acting upon the offset rotation of an object, both are properties of P2 but sadly not of Arcade. It can probably be done with Arcade, but not easily.

 

Here's an example of 'swinging' physics in P2, albeit probably more complicated than your requirements: http://examples.phaser.io/_site/view_full.html?d=p2%20physics&f=chain.js&t=chain

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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