Prims ruckelfrei bewegen

3 years 8 months ago - 3 years 7 months ago #13 by Jules Dreki


  • Posts: 3

  • Gender: Unknown
  • Birthdate: Unknown
  • Prims ruckelfrei bewegen was created by Jules Dreki
    Die folgenden Funktionen findet man sehr oft in Beispielen und fertigen Scripten.

    llSetPos()
    SetPrimitiveParams() - script sleeps 200ms
    llSetLinkPrimitiveParamsFast() - script sleeps 0ms (nicht implementiert in den Opensims)
    osSetPrimitiveParams() - script sleep 0ms

    Leider haben diese Befehle alle den Nachteil das die neue Position unmittelbar gesetzt wird. Man sieht den Prim nur springen und sich nicht bewegen. Will man eine Bewegung sehen muss man den Prim mit diesen Befehlen regelrecht animieren. Mit dem folgenden Befehl setzt man nur das Ziel, und der Prim bewegt sich passend zur übergebenen Zeit dort hin.

    llSetKeyframedMotion()

    Detektiert am besten das Ende der Bewegung mit dem Ereignis moving_end(). Mit den Ereignis not_at_target() hatte ich in den Opensims Probleme. Wie dass in SL sich verhält, kann ich nicht sagen. Aber in OS wird dieses Ereignis permanent ausgelöst, solange sich der Prim nicht am Ziel befindet. Irgendwann hat dann ein Ereignis gefehlt und die nächste Bewegung starte nicht. Meine Vermutung ist das die Ereignis-Warteschlange mit mehr als 64 Ereignissen überlief und so dann Ereignisse ignoriert wurden.
    Last edit: 3 years 7 months ago by Jules Dreki.

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.307 seconds
    Powered by Kunena Forum

    How do I get in?

    If you want to log into the Swiss Grid, you first need a so-called viewer.

    B. the Firestorm. Download here:

    Firestorm Viewer für Opensim

    Download ---> then install ----> then open

    In the example here, the so-called “Phoenix mode” was selected in the viewer. But it works the same in any other mode; don't let the viewer version irritate you either. The login to the Swiss grid also works the same way with every new version.

    It is important that you only download the version for the Opensim (OS). Inworld problems can occur with combination viewers for SL and OS.



     

    Registration steps according to the picture:

    1 Click Viewer in the menu above, then Settings,

    2 Click on the OpenSim tab

    3 Enter the following address in the field: http://swissgrid.opensim.ch:8002/ (copy & paste)

    4 Click Apply

    5 Click OK

    6 Enter your user name (user name that is exactly the same as the login name on the Swissgrid homepage!)

    7 Enter your password (password exactly the same as the login name on the Swissgrid homepage!)

    8 Select Swiss Grid (now you should see the background image as shown above - then you are correct)

    Now click the login button (9) and your new avatar will automatically be taken to the welcome region.

    A little hint: the @ (and gridname) after the username is automatically generated by the viewer.

    You only need to enter your username there.


    We have 281 guests and no members online


    swissgrid.opensim.ch

    © Swissgrid 2018-2022 Impressum:
     Admin: Night Raven    Sili Gal
         CH-8952 Schlieren/ZH