Advertisement
salahzar

Cicloide2 - Rotazione attorno all'asse z

May 4th, 2013
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  default
  2. {
  3.  state_entry()
  4.  {
  5.      
  6.      // ferma la rotazione
  7.      llTargetOmega(<1,0,0>,0,0);
  8.  }
  9.  link_message(integer source, integer channel,string str, key id)
  10.  {
  11.  
  12.      // la inizia quando riceve START sul canale 100
  13.         if(str=="START")
  14.          llTargetOmega(<1,0,0>,1,1);
  15.          else
  16.          llTargetOmega(<1,0,0>,0,0);
  17.  }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement