This site requires JavaScript, please enable it in your browser!
Greenfoot back
Tezuka
Tezuka wrote ...

2012/10/26

Help

1
2
Tezuka Tezuka

2012/10/27

#
how does that works with the calculating? Can u explain it in another way?
danpost danpost

2012/10/27

#
Imagine a circle of radius 'power' centered on a grid at the (0, 0) location. Now draw a line from the centerpoint to any point on the circle. The length of the line, of course, is 'power'. The horizontal offset from the centerpoint the to the point on the circle is 'xSpeed' and the vertical offset is 'ySpeed'. The 'angle' is determined by the line you drew as compared to the line from the centerpoint to the point on the circle directly to the right of it (going horizontally).
You need to login to post a reply.
1
2