This is my first game so i am building a endless runner and i trying to build guard rails like on a high way and i cant figure out how to do that can any one help me please and thanks

this is my first game so i am building a endless runner and i trying to build gaurd rails like on a high way and i cant figure out how to do that can any one help me please and thanks.

create platforms something like this and attach them in such a way that they would look continuous (like the cubes in minecraft)
edit : check project files at ppchavan001.itch.io if you want to confuse yourself…

what kind of problem are you having with making guard rails? they should be basic meshes and have collision that the character cant go through. anything beyond that you need to provide more information. if your having an issue where your character can move through the collision then it may be your method of movement.