LlSetForce

De DigiWiki.

//A simple rocket script. Launches object up when touched. 
//Sit on it for an interesting ride!
default
{
    touch_start(integer i)
    {
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSetForce(<0,0,0x7FFFFFFF>, 0);  //FLY!
    }
}
Outils personnels
  • Cette page a été consultée 442 fois.
donate
Google Ads