Jump to content

How to swing back and forth of Arcade physics body?

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...