IK Feet - Angled to ground normal?

Was wondering if anyone has done a blueprint to get feet to angle paralleled to the ground level using a trace and normal detection.

would love some help as I am an animator by trade not a mathsy programmery type.

I have tried looking at the one included in the content examples but it does not angle feet to the ground and also seems to be a little weak about finding the actual height of the ground with any kind of accuracy.

Thanks in advance!