hi,
how to set velocityIterations and positionIterations variables in physics2behavior, i dont find them in the code.
What are they by default set to?
your framerate.
velocity and position is calculated and executed each frame.
hi, i ask about box2d variables to set simulation precision, i dont find them.
Nevermind now i found it.
File, physics2runtimebehavior.ts, line 116
this.world.Step(this.timeStep * this.timeScale, 8, 10);
velocityIterations = 8;
positionIterations = 10;