my code works fine, but since i set the gridshapes position and rotatexyz to the phys.bodies’ position and rotatexyz in the bang-function (which is triggered by a qmetro 40), it uses a lot of cpu performance.
thanks for any help!
PS: below is my code which uses a lot of cpu-performance.
var maxo = 250;
var cside = 0.04;
var cube = new Array();
var cubx = new Array();
var r = (Math.random()*0.1)-0.05;