How can I change material of actors between character and camera?

Seems like the problem is in “Get material from Collision Face Index” node. Is it require primitive like cube, cilynder, etc from shapes panel?