Reverse spline
- Exposure: public
- UE Version: 5.1
ctrl + v
4 comments
-
This mostly works but you also need to invert the Leave and Arrive tangent vectors. Just multiply them by -1. If you don't then the reversed spline will look off because the tangents will be reversed.
-
Thank you for the scipt it works very nice! @pencilking2002 in my case (where I have ring spline but not closed loop) i just had to multiply LeaveTangenet by -1 and leave ArriveTangent as it is. Thanks guys !
-
Hi, sorry how exactly should I use it? Create a blueprint with spline component? then add in the construction script tab? I tried it that way and it doesnt work :(
-
Thank you, you saved me a lot of time!
It didn't work for me as is, so here is what did: Enable "Input Spline Points to Construction Script" on the spline component to make it work! And yes, you need to multiply Leave and Arrive tangent outputs by -1,-1,-1. (UE 5.7)
pencilking2002
June 23, 2024, 1:41 am