hi guys
i have problem.. please help me..
i try to design website with box2d
but i dont have any experience in that class..
but .. when i read a tutorial in internet about that i could set up but i have problem ..
my problem is . i wanna change the gravity my objects.. i dont know how can i change it ?
this is my code :
--------------------------------------------------------------------------------------
import com.actionsnippet.qbox.*;
var sim:QuickBox2D = new QuickBox2D(this);
sim.addBox({x:4, y:34, width:150, height:0.25, density:0 , fillAlpha:0 , lineAlpha:0});
sim.start();
sim.mouseDrag();
--------------------------------------------------------------------------------------
i copied the class in to new my files. and name is box2d . and now i wanna change the gravity .
thanX
i have problem.. please help me..
i try to design website with box2d
but i dont have any experience in that class..
but .. when i read a tutorial in internet about that i could set up but i have problem ..
my problem is . i wanna change the gravity my objects.. i dont know how can i change it ?
this is my code :
--------------------------------------------------------------------------------------
import com.actionsnippet.qbox.*;
var sim:QuickBox2D = new QuickBox2D(this);
sim.addBox({x:4, y:34, width:150, height:0.25, density:0 , fillAlpha:0 , lineAlpha:0});
sim.start();
sim.mouseDrag();
--------------------------------------------------------------------------------------
i copied the class in to new my files. and name is box2d . and now i wanna change the gravity .
thanX