I have a cube. I need to make a pyramid that attaches to the bottom of the cube. I also need to move the pyramid over the entire surface of the cube so that its bottom always lies on the cube. If a wall forms in its path, it must jump on it and continue its movement.
p.s. English is not my own language, but I tried my best : -)