Hello. So I’m pretty new to blueprints and can’t figure out how to exclude a certain axis when setting the start and end tangents of a spline mesh. I’d like to have a mesh deform with the spline, but only on X and Y, and retain the step like structure as shown with the bottom mesh. Any help would be greatly appreciated.
I may have mistyped, as far as I can tell I am using a static mesh, not a spline mesh… I think. This is the deform spline graph I’m trying to make the step functionality work with.
Okay, gave that a go and seeing the issue with combining the two, but not finding an alternative for the “set start and end”, as the Target no longer works. Also not sure if I should split struct and just be grabbing Z rotation? Might of went over my head a bit, sorry!
You don’t need the Start/Stop at all - that “Relative Transform” is all you need.
Regarding the rotation - you may need to experiment with that, using GetRotationAtDistanceAlongSpline may give better results: (I just used AtSplinePoint() for eg)
Oh no worries! I’m just happy to be getting a response on here, so thank you!
As for your last message, definitely a step in the right direction. Looks fine from the top and is deforming, but from the side, still a bit wonky and not like stairs/steps. Any ideas?
This is the only way I could think to make X or Y zero. Not sure if thats what you meant, but either way, no luck fixing it with that. Eh, I’ll keep trying things and see where I get. Thanks again for all the help!