LlGetPos/fr: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Gally Young (talk | contribs)
Localized to french
(No difference)

Revision as of 12:33, 13 March 2008

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.