Sign in to follow this  

How to rotate body with Arcade physics?

Recommended Posts

maybe somethings like this.

function create() {
  pipes =;
  var ledge = pipes.create(100,100, 'ground');
  pipes.angle = 90;  // <-- this
  pipes.enableBody = true;
  pipes.setAll('body.immovable', true);

function update() {
    pipes.angle ++; // <-- or this

I'm starter, sorry if I'm wrong understand

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.