CPE: Function: Auto-reset Zipline
This is an updated zipline – in the previous version, the handle will stay at the top when the player drop from the upper layer, and this caused the player unable to use the zipline from the lower floor once again when the XR rig reset to start point. Now it can automatically go back to pick the player again!
Before:
Updated:
Logic:
By adding extra script inspired by moving platform (which has at least 2 destination pivots pointing each other and asking the platform to move towards the other point once it reached an end), the handle is now able to move automatically when it’s not touched. I adapted the script from asking the handle to move between the 2 destinations to always only moving to one end (the starting point)
Script on the handle:

Script on the start point:

Script on the end point:

I’m glad this moving script is not conflicting with the player control of the handle….