Sorry again, i’m not quite sure, in this particular example, what the (true) refers to, and therefore how the loop can be terminated sometimes.
As i understand, EA goes through the algorythm for each frame (time of the comp) and returns the coordinates of the object, which ultimately depends on some quantity y. So for each frame AE does basically this (see below).
Is it the ” break; ” commands, although they are inside a ” if(){} ” that actually prevents AE to go back to the start of the while(true) loop and test infinitely many intervals ?
(definition of some parameters)
(intermediary calculations)
Test if time belongs to the initial time interval
{y= }
else{
while(true){
(redefinition of some variables,
in particular definition of a new time interval,
contiguous to the previous one)
Test if time belongs to the new time interval{
y=
break;}
Test another condition{
y=
break;}
}//ends while(true)
}//ends else
Returns the position of the object.