added physics to update positioning.