So I dont know if this will work…
The get all actors of class node has the surface actor (the cube) , I would suggest not using that node as it fires every frame, just store a reference as a variable. I put it in the construction script here just for this demo but this function does not need to be set every frame, only when the character is moved.
heres a video of it