Quantum dynamics of a particle trapped by oscillating fields