i have a rope with 12 empty gameobjects with triggered colliders.
when the user presses the up and down arrows the players position is changed to that of the triggered colliders and this allows me to climb up and down.
How the problem is that is travels up and and down too fast when holding down the buttons and i cant seem to slow this down…any ideas? tried lerping but that didnt fix it at all
EDIT: HERES IS MY CODE
// Moving up and down the Vine
if( Input.GetKey("up") )
{
playerTransform.position = Vector3.Lerp(playerTransform.position, curSegment.position, 50);
playerTransform.transform.parent = curSegment.transform;
}