src.Move(src.loc,src.dir,step_x+(sin(Angle)*step_size),step_y+(cos(Angle)*step_size))
Problem description:
I am having a problem moving my object at a constant rate in the angle. I feel like sometimes it off by a little bit. Does this seem right?
Code:
src.Move(src.loc,src.dir,step_x+(sin(Angle)*step_size),step_y+(cos(Angle)*step_size)) Problem description: I am having a problem moving my object at a constant rate in the angle. I feel like sometimes it off by a little bit. Does this seem right? |
In response to Kaiochao
|
|
Thanks a lot, Kaiochao. After including your code I noticed a vast improvement on the pixel movement.
|
http://www.byond.com/forum/?post=151264
If you include the code from today, you can change your code to: