How can i make my skateboard character grind on rails and all the edges of meshes?

thanks for you reply
but I think its only for Splines?
i also want to grind on non spline objects (for example edges of mesh) or the objects i already have in my map