lucascba Posted July 8, 2016 Share Posted July 8, 2016 Hola, me gustaría saber si hay una forma de utilizar "getCameraMatrix" de lado del server, porque me da error cuando lo utilizo. Gracias Link to comment
aka Blue Posted July 8, 2016 Share Posted July 8, 2016 Esa función devuelve varios valores, usa esto: local x, y, z, lx, ly, lz = getCameraMatrix ( player ) Link to comment
lucascba Posted July 8, 2016 Author Share Posted July 8, 2016 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 Link to comment
aka Blue Posted July 8, 2016 Share Posted July 8, 2016 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). Link to comment
lucascba Posted July 8, 2016 Author Share Posted July 8, 2016 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? Link to comment
aka Blue Posted July 8, 2016 Share Posted July 8, 2016 Te recomiendan que lo cambies a client-side, así que supongo que no. Link to comment
Tomas Posted July 8, 2016 Share Posted July 8, 2016 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. Link to comment
Alexs Posted July 9, 2016 Share Posted July 9, 2016 Cuando dices que te da error, ¿a qué te refieres exactamente? ¿Qué intentas hacer? Link to comment
Recommended Posts