Jump to content

Floating Script


Charolotte Caxton
 Share

You are about to reply to a thread that has been inactive for 470 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

There are many things you can do to make it seem more 'realistic', but the bare minimum is pretty simple:

default
{  state_entry()
   {   llSetStatus(STATUS_PHYSICS, TRUE);
       llSetStatus(STATUS_ROTATE_X,FALSE); // set these to TRUE or FALSE depending on the desired behavior and intrinsic axes of the object.
       llSetStatus(STATUS_ROTATE_Y,FALSE);
       llSetStatus(STATUS_ROTATE_Z,TRUE);
       llSetHoverHeight(0.0,TRUE,0.25);
   }
}

see also:

 

Edited by Quistess Alpha
  • Thanks 1
Link to comment
Share on other sites

5 hours ago, Quistess Alpha said:

There are many things you can do to make it seem more 'realistic', but the bare minimum is pretty simple:

default
{  state_entry()
   {   llSetStatus(STATUS_PHYSICS, TRUE);
       llSetStatus(STATUS_ROTATE_X,FALSE); // set these to TRUE or FALSE depending on the desired behavior and intrinsic axes of the object.
       llSetStatus(STATUS_ROTATE_Y,FALSE);
       llSetStatus(STATUS_ROTATE_Z,TRUE);
       llSetHoverHeight(0.0,TRUE,0.25);
   }
}

see also:

 

Thank you so very much!

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 470 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...