2 Replies Latest reply on Oct 11, 2006 6:49 AM by duckets

    Constant speed in Director

    AndrewNock Level 1
      Hi all,

      I'm progressing well with my crane project. An issue I have next on my 'checklist' is getting the speed to be the same on any machine. At the moment, when a button is pressed, it sets a variable to a value, i.e 'inchLoad' which calls a function to move the load up.

      on inchLoad()

      translationValue = gLoad.getWorldTransform().position.z

      if (translationValue < 410 ) then --make sure not go too high
      gLoad.translate(0,0,0.2)
      else
      craneMove = "stopCrane"
      end if

      end

      This works great, but if the computer is faster, the load moves faster, and vice versa. Is there a way I can set it so it will be the same on any computer I try it on.

      Thanks, Andy