LlGetPos/fr

From Second Life Wiki
< LlGetPos
Revision as of 12:33, 13 March 2008 by Gally Young (talk | contribs) (Localized to french)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Fonction: vector llGetPos( );

Renvoie un vector correspondant à la position de la prim dans le référentiel régional.


Exemples

default
{
    touch_start(integer total_number)
    {
        // quand la prim est touchée, controle la position
        // de l’objet et l’enregistre dans "position",
        // puis la convertit en string
        // et la dit sur le canal public (say)
        vector position = llGetPos();
        llSay(0, (string)position);
    }
}

Voir également

Fonctions

•  llGetLocalPos Renvoie la position de la prim dans un référentiel local.
•  llSetPos Change la position de la prim
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.