Jump to content

Physics.Arcade maximum velocity at any given angle


nickspacek
 Share

Recommended Posts

Hi there,

 

I notice for both moveToObject and when setting the maxVelocity for a Body that you can specify the maximum velocity for the X and Y components but when moving at an angle the overall velocity will exceed these.

 

Is it an intentional feature to replicate old-school Arcade physics? I can't seem to figure out any way to set the maximum velocity overall without just doing the math myself.

 

Thanks!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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