Hello, i have a normal Zipline but i also want a vertical one, like in Warzone / Fortnite etc. I dont know why it doesnt work. I have my Spline completely vertical and the code works on the horizontal one, why doesnt it work vertically?
whenever i move the top part of the spline slighty forward, the zipline will also go directly forward like its a horizontal one. But if i have the spline perfectly straight my character just doesnt move up on the Z-Axis at all.
Is gravity perhaps pulling your character down? (for a test at least) Try temporarily either disabling gravity or setting your character’s movement mode to Flying while it’s on the zipline.
sadly both of those dont work. still just stuck on the bottom of the spline
For starters, try adding a Print
node after your Lerp
(see image) to see whether the issue is in the first part (zipline function and location calculations) or the second part (applying this to the character’s transform). If the Print
shows the distance is correct (increasing from 0.0 to spline length), then something is messing with the teleportation logic.