Getting splines to stick to the ground

Are you trying to snap at runtime or in the editor?