Jump to content

Why does ArcadePhysics.Body#update get called when not using physics


Recommended Posts

I'm working on a game, in which I am using a separate physics engine (chipmunk.js in this case), and while doing some profiling I see that ArcadePhysics.Body#update is being called. This is taking up a not insubstantial amount of time during each frame.


I'm updating my own sprite's position and rotation each frame, which is one of the things this function seems to do (as well as updating the quadtree).

My question is, how can I disable this completely and why is it on by default?



Link to comment
Share on other sites


  • Recently Browsing   0 members

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