i tried to do that. i had this:
and same with y but Math.sin.PHP Code:setProperty(bullet, _x, char._x+L*Math.cos(angle));
L = 15, then i tried with 30. do neither worked. do the values for L seem right?
|
Results 1 to 13 of 13
Threaded View
|
Click Here to Expand Forum to Full Width |