#Positional Playback

1 messages · Page 1 of 1 (latest)

late perch
odd hollow
#

I know this isn't going to help fix whatever issue you've got going on with positions, but you should learn to use the debugger if you're not already familiar with it.
It'll allow you to step over your logic and inspect variables and code execution so you can see where your assumptions are failing you.
https://www.youtube.com/playlist?list=PLReL099Y5nRdW8KEd59B5KkGeqWFao34n

Also, your condition:
if (i >= RecordedPositions.Count)
Can never be true, because it would have caused an index out of range exception on the lines above.
Perhaps you intend to do i++; above that if statement, and not inside the else?