Login

Fancade Wiki

Updated World To Screen.md (markdown)

... ...
@@ -3,7 +3,6 @@ Given a world coordinate, outputs its screen coordinates.
3 3
[[/uploads/World_To_Screen.png]]
4 4
5 5
# Notes
6
This script has a bug due to a OFD (One Frame Delay). To fix this, grab an If, connect a red Get Variable to the red input on the If, grab a Set Truth, and connect True to 'Value'.
6
Due to a technical issue, still to be fixed, the output lags by one frame. I.e. if you Set Camera on frame N, then this block's output will change on frame N+1.
7 7
8
See the yellow input on the top of the Set Truth? Connect it to False and the bug is fixed!
9
[[/uploads/bugfix_worldtoscreen.jpg]]
... ...
\ No newline at end of file
0
Because of this bug, the script will not work on the first frame. To avoid incorrect values, use the block's output if the [[Current Frame]] is greater than 0.
... ...
\ No newline at end of file
Fancade Wiki