Moving object past player (with pictures)
#4

Ok, I decided that this is impossible(or very hard to calcute and I'm lazy) to find arrow rotation. So I'll try to do this with player rotation.
And I'm not sure how to do even that...

Код:
new Float:Angle;

GetPlayerFacingAngle(targetid, Angle);
if(Angle==180) y++;
Right? But how to know how much X and Y to add when rotation angle is for example 32?
Reply


Messages In This Thread
Moving object past player (with pictures) - by ax1 - 02.12.2015, 10:57
Re: Moving object past player (with pictures) - by Ahmad45123 - 02.12.2015, 11:07
Re: Moving object past player (with pictures) - by ax1 - 02.12.2015, 11:26
Re: Moving object past player (with pictures) - by ax1 - 02.12.2015, 11:37
Re: Moving object past player (with pictures) - by PrO.GameR - 02.12.2015, 12:20
Re: Moving object past player (with pictures) - by ax1 - 02.12.2015, 12:55
Re: Moving object past player (with pictures) - by AbyssMorgan - 02.12.2015, 13:22
Re: Moving object past player (with pictures) - by ax1 - 02.12.2015, 13:32
Re: Moving object past player (with pictures) - by AbyssMorgan - 02.12.2015, 13:33
Re: Moving object past player (with pictures) - by GeneralAref - 02.12.2015, 13:36

Forum Jump:


Users browsing this thread: 2 Guest(s)