Jump to content

best way to measure time with collision


espace
 Share

Recommended Posts

hi,

I'm searching to find how time is falling an object with Phaser.arcade.

actually i use :
 

console.time("a")

console.timeEnd("a")

the problem is that the time is each case different depending by the performance of the browser.

i read that i must use performance.now() instead... but i would have an advice about that and find how to determine the time that my object take to fall to the ground...

thanks.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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