Stopping a moving object in bge I made a bowling-like game with bge. When the ball hits the pins they fall like they should do, because they are modeled as rigid body. But when I put them back in their position they start moving. I tried pulling up the damping to 1, setting cylindrical bounds and using these lines when I change position:

    cont = bge.logic.getCurrentController()
    target=cont.owner
    target.setLinearVelocity([0, 0, 0], True)
    target.setAngularVelocity([0, 0, 0], True)


but it isn't effective. Any suggestion?
You can't cancel velocities with a null vector (0, 0, 0). A null vector is treated as "no change".

You need to apply a very small velocity such as (0, 0, 0.00002).

This belongs to the Python code as well as the motion actuator.