// Where i is the current iteration
if (i == 1)
{
Vector3 crossProduct = Vector3.Cross(lastNormal, hit.normal);
Vector3 creaseVector = crossProduct.normalized;
float signedDistance = Vector3.Dot(movementInsideWall, creaseVector);
movementDisplacement = creaseVector * signedDistance;
}