Jump to content

Forma de utilizar "getCameraMatrix" en server


Recommended Posts

Posted
Esa función devuelve varios valores, usa esto:
local x, y, z, lx, ly, lz = getCameraMatrix ( player ) 

Eso lo sé, el problema es que no devuelve nada, prueba por ti mismo

Posted
Note: The server-side version of this function returns the last camera matrix that was set by the server, and thus does not necessarily indicate the current matrix of the camera (since it may have been changed client-side).
Posted
Note: The server-side version of this function returns the last camera matrix that was set by the server, and thus does not necessarily indicate the current matrix of the camera (since it may have been changed client-side).

Exacto, hay alguna forma de solucionarlo?

Posted
Te recomiendan que lo cambies a client-side, así que supongo que no.

No te lo recomiendan, dice que el getCameraMatrix en server side solo devuelve posiciones que fueron seteadas con setCameraMatrix en server side, que basicamente no sirve para obtener la actual.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...