Jump to content

Arcade physics bodies doesn't move straight


Zuick
 Share

Recommended Posts

I think this might be due to drag being applied by axis and not by velocity vector. You can try to turn off drag and write a little routine yourself where you create a Phaser.Point from your current velocity and use getMagnitude/setMagnitude to scale it according to your desired drag value, and then reapply the velocity.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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