3D_Y_POSITION N,Y

MODIFIE LA COORDONNÉE EN Y DE L'OBJET 3D NUMÉRO N



ACTION

La commande 3D_Y_POSITION N,Y modifie la coordonnée Y de l'objet 3D désigné par son numéro N, et le place en position (X,Y,Z), les coordonnées X et Z de l'objet 3D étant inchangées.


SYNTAXE : 3D_Y_POSITION N,Y


UTILISATION


ERREUR


EXEMPLE

' créer un monde 3D

scene3d 1

' redimensionner le monde 3D

width 1,300:height 1,300

' positionner la caméra

cam_position 5,10,10

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

3d_sphere 1,2

' attendre 1 seconde

wait 1000

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

3d_y_position 1,5


EN RAPPORT

3D_X_POSITION

3D_Z_POSITION


Content created by Jack. Updated March 07, 2025