O3D_Z_POSITION(N)

RETOURNE LA POSITION SUR L'AXE Z DE L'OBJET 3D NUMÉRO N



ACTION

La fonction O3D_Z_POSITION(N) retourne la position sur l'axe Z de l'objet 3D désigné par son numéro N.


SYNTAXE : Resultat=O3D_Z_POSITION(N)


UTILISATION


ERREUR


EXEMPLE

' créer un monde 3D

scene3d 1

' une sphère est créée en (0,0,0)

3d_sphere 1,2

' la déplacer en (0,0,5)

3d_z_position 1,5

' afficher sa position en Z

print o3d_z_position(1)


EN RAPPORT

O3D_X_POSITION()

O3D_Y_POSITION()


Content created by Jack. Updated March 07, 2025