[Ajuda] Como reverter estes valores?
#9

Meu irmгo, vou te dar meu +rep por tua tentativa em me ajudar, valeu mesmo!

Consegui resolver o problema removendo esse cбlculo:
finalx = ox*floatcos(roz, degrees)+oy*floatsin(roz, degrees);
finaly = -ox*floatsin(roz, degrees)+oy*floatcos(roz, degrees);


Pois descobri que ele faz a mesma coisa que isso:
x-px;
y-py;


Que bosta kkkk
Sendo assim, pra reverter os valores, basta alterar o - pra + e feito:
AttachDynamicObjectToVehicle(AttachedObjects[car][0], car, ox, oy, oz, rx, ry, ofaz);


Brigadгo mesmo!
Reply


Messages In This Thread
Como reverter estes valores? - by JR_Junior - 23.06.2015, 22:42
Re: Como reverter estes valores? - by PeterJane - 23.06.2015, 22:55
Re: Como reverter estes valores? - by JR_Junior - 23.06.2015, 23:08
Re: Como reverter estes valores? - by PeterJane - 23.06.2015, 23:16
Re: Como reverter estes valores? - by JR_Junior - 23.06.2015, 23:33
Re: Como reverter estes valores? - by PeterJane - 23.06.2015, 23:42
Re: Como reverter estes valores? - by JR_Junior - 24.06.2015, 00:01
Re: Como reverter estes valores? - by PeterJane - 24.06.2015, 00:23
Re: Como reverter estes valores? - by JR_Junior - 24.06.2015, 21:59

Forum Jump:


Users browsing this thread: 1 Guest(s)