Did you apply any force to the object? The above shown code won't let your entity move, it will just animate it.


Always learn from history, to be sure you make the same mistakes again...