Added updating rotation to p[i+1]; Added .rotation property to Node2d instance; Removed redundant .absoluteRotation function from Node2d instance;