FixedUpdate Function

Does playcanvas have a fixedUpdate() function? And if so, could someone please drop me a link to an example code.? Thanks. :smile:

It does. Simply use it the same as you do update; just using fixedUpdate.

There are actually a few other functions that are fired as well;

initialize: function (root) {

postInitialize: function (root) {

update: function (dt, inTools) {

fixedUpdate: function (dt, inTools) {

postUpdate: function (dt, inTools) {

Thanks, this is really helpful.