09.04.2016, 10:29
Hi,
I have Float:X and i'am adding +5.0, but this only works when vehicle face to north if i face to another adding x coordinate +5 give my front that mean i think i have add +5 to Y not to X. I need to make effect only for x axis how calculate vehicle angle and to what coordinate x or y i have to add my value
I have Float:X and i'am adding +5.0, but this only works when vehicle face to north if i face to another adding x coordinate +5 give my front that mean i think i have add +5 to Y not to X. I need to make effect only for x axis how calculate vehicle angle and to what coordinate x or y i have to add my value