How do I control movement with scripts?

Options
Dex
Dex Posts: 2

I have 3d glasses in lens studio and added a script to make them move, However, the glasses are not moving up as the script commands. any help would be great

I have a behaviour script which when triggered initiates the tween that moves the glasses but nothing is happening

Best Answer

  • 100%spam
    100%spam Posts: 8
    #2 Answer ✓
    Options

    the glasses could be on an ortho layer, in which case it needs to be TweenScreenTransform. Otherwise you could check if the tween is autoplaying and looping. If these are not on, it may not be obvious what is visually happening. Local and World space are also important factors in moving objects