hello_physics and setLinearVelocity

hi
why balls pass from inside the wall when setLinearVelocity receives high value
for example.

ball_phy.setLinearVelocity(cam.getDirection().mult(250));

and how to create a correct accident between two spatials in high speed ?

thank u.

http://wiki.jmonkeyengine.org/doku.php/jme3:advanced:physics
Search for: “setCcdMotionThreshold”

1 Like

thank u its better now.

And more important setAccuracy, but it makes the Performance worse

1 Like

setAccuracy isn’t a good idea, its pretty much the ideal value for “normal” physics already.

1 Like