Ragdoll float in water

I am trying to make my player float in water while dead i have two physics assets for the player one that it uses while in water and the other for while it is not in water how would i go about making it float when ragdoll is activated?

(Water Z - ragdoll Z) clamp it to min 0 max 1.5. Multiply that to (0,0,Mass*980) then use that to add force(event tick). Increase linear damping if it’s under water to prevent oscillation.

Look up buoyancy ue4 on youtube for better buoyancy.