Graphics

 View Only
  • 1.  visual logic vs scripting problem

    Posted 02-15-2019 23:35
    Hi there!
    i have a problem: im setting the width of a quad trhu visual logic (depending on the length of a text).
    this is working ok.
    the, i want to do something in a script that is in OnPreviewRender, using the value of that quads width.
    happens that the width that the script gets, is always the original value of the quad and not the actual width. seems that via scripting, i cant access values given with visual logic .
    is that ok?

    thanks a lot
    Diego


  • 2.  RE: visual logic vs scripting problem

    Posted 02-16-2019 00:21
    The script runs before the visual logic is applied. OnPreviewRender runs before the scene is rendered; and the visual logic runs during the rendering of the scene.
    #XPression