how to attach particles to player character?

In the particle system, tab required, set the option “Use local space” to true.