User posts berdon
01 August 2017 17:30
Maybe you can use the API linkto get the translation of camera and object to calculate the distance.
26 July 2017 12:04
Reply to post of user Ivan Lyubovnikovwow, I get it. Thanks, Ivan. And another question, can the fps be set?
Hi berdon,
there's the method set_fps_callback. The callback executes every frame and gives you the actual fps value:var m_main = require("main"); m_main.set_fps_callback(function(fps_avg, phy_fps_avg) { console.log("current fps is", fps_avg); });
26 July 2017 10:16
26 July 2017 05:08
25 July 2017 18:34
12 July 2017 06:46