switch from day scene to night scene is interruped

  • hi! i have a problem with a action that make the switch from day scene to night scene the problem is the switch is not fluent

    before the night appears, i see the initial screen of the night scene with the initial values set here and the same happens on the contrary

    Code
    <view 
    	      hlookat       ="167.137196"
    	      vlookat       ="10.735946"
    	      camroll       ="0.000000" 
    	    
    	       fov="80" fovmin="15" fovmax="90" architectural="0.5" 
    	      />

    the switch is ruled by this action

    Code
    set(delayedcallstop1,false);
    
    
        delayedcall(20, if(delayedcallstop1== false, action(scene8) ) );
    
    
        wait(blend);

    and this is scene8 action


    and each scene has this code
    onstart="action(stop_giornonotte)"

    with this action

    Code
    <action name="stop_giornonotte">
    set(delayedcallstop1,true);
    set(delayedcallstop2,true);
    </action>

    what's wrong ??could you help me to fix it?? thank you

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!