Jump to content

Changing game.world.angle doesn't affect Arcade bodies.


CodedGames
 Share

Recommended Posts

So I'm trying to rotate everything using game.world.angle. I thought I would still be able to use the arcade physics system because, even though things are rotating, the underlying coordinate system is never changed. 

But, as you can see, when I rotate the entire world, arcade bodies remain unchanged. Any idea to get around this other than switch over to the P2 physics system?

 

Screen Shot 2018-01-20 at 5.01.36 PM.png

 

Update: So I found that the body.rotation variable is changing. I think that is the problem

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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