Jump to content

Is it possible to "rotate" a body with Arcade physics?


totallybueno
 Share

Recommended Posts

Hi there,

I guess the answer is not, but I prefer to ask you guys... is it possible to rotate a body with Arcade physics? I want to do something like this picture (being the bodies, the green part, like if I were rendering them...)

 

I guess I´m gonna need to change to Ninja or P2...

 

Thanks in advance.

post-2171-0-32893700-1425985140.png

Link to comment
Share on other sites

This has come up a few times and nobody has come up with any way to do it. Arcade physics can be efficient in its calculations because it is AABB (axis aligned bounding box) based. Once you rotate a box it is no longer following this model and it can' t use the same quick calculations.

Ninja isn't fully supported anymore so P2 is probably your best bet - if nothing else there is more help on the forums for it. I've found it surprisingly quick even on mobile.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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