载入中。。。 'S bLog
 
载入中。。。
 
载入中。。。
载入中。。。
载入中。。。
载入中。。。
载入中。。。
 
填写您的邮件地址,订阅我们的精彩内容:


 
lRotateTexture 旋转贴图
[ 2007/7/14 14:49:00 | By: 梦翔儿 ]
 
//不知道,为什么没生效,有时间再看吧.先继续
//llRotateTexture(float angle,integer side)
//这个函数,是用来旋转贴图的,side是要旋转的面.

default
{
    state_entry()
    {
        llRotateTexture(90,3);  //rotate front of object to90
    }
    touch_start(integer total_number) //when touched
    {
        llRotateTexture(180,3); //rotate front of object to 180
       
            llSleep(2);
       
        llRotateTexture(30,3);
   
            llSleep(2);
           
        llRotateTexture(0,ALL_SIDES); //rotate All sides of object by ZERO
   
            llSleep(2);
           
    llResetScript(); // make script start again
   
    }
}
 
 
  • 标签:lRotateTexture second life 
  • 发表评论:
    载入中。。。

     
     
     

    梦翔儿网站 梦飞翔的地方 http://www.dreamflier.net
    中华人民共和国信息产业部TCP/IP系统 备案序号:辽ICP备09000550号

    Powered by Oblog.