I would like points that stay put on the screen. Here are some requirements:[br]-stay pinned to screen coordinates[br]-stay in the viewport[br]-they may be freely moved[br]-we may use them as reference points for other objects.
None of the methods in GGB meet these requirements (try it).[br][br]Why? (Hint: there is no such thing as absolute coordinates).[br]The points U1, V1, W1, Z1, however, [i]do[/i].[br][br][b]Procedure:[/b][br][list=1][br][*]imgWhite = (blank, 32×32 pixel image).[br]Set [i]ObjectProperties>Position>Corner1[/i] to Corner[1][br][*]crn3 = Corner[imgWhite, 3][br][*]track the ratio Pixels/(GGB Unit):[br]ppu = 32/x(crn3 - Corner[1])[br][/list][br][br]Now we can place points in screen coordiantes:[br]U1'' = (Free Point)[br]U1' = (Free Point)[br] [math] \;\;\;[/math]Update Script: SetValue[U1'', (U1' - Corner[4]) ppu][br]U1 =DynamicCoordinates[U1', x(Corner[4] + U1'' / ppu), y(Corner[4] + U1'' / ppu)][br][br]Points V1, Z1, W1 measure from the other three screen corners.[br]Object updates can still cause problems; additional update script is needed to keep points from occasionally jumping about. More later.