Hi Filax,
still playing around with EasyTok and discovered this, I wasn't getting hugely accurate positioning of TOK entities so I changes this...
For FrameLimit = 1 To FrameTicks
If FrameLimit = FrameTicks Then
CaptureWorld
EndIf
FrameTime = FrameTime + FramePeriod
update_game()
UpdateWorld
Next
TOK_RefreshEasyTOK()
RenderWorld FrameTween
to this...
For FrameLimit = 1 To FrameTicks
If FrameLimit = FrameTicks Then
CaptureWorld
EndIf
FrameTime = FrameTime + FramePeriod
update_game()
UpdateWorld
TOK_RefreshEasyTOK()
Next
RenderWorld FrameTween
Note the placement of the TOK_RefreshEasyTok()
It seems to be more accurate now. Do you have any thoughts on this?
|