Computer Science Canada circles + archs |
Author: | JSBN [ Thu May 08, 2003 11:57 am ] |
Post subject: | circles + archs |
i am getting pissed off, so i thought i'd ask. I need to get a circle to move in an arch. can someone give me some pionters? problem is that after a short period of time it starts to move too quickly :/ |
Author: | Tony [ Thu May 08, 2003 12:04 pm ] |
Post subject: | |
use trig to find your new location. SOH CAH TOA or you could use a circle equation... x^2 / Rx + y^2 / rY = 1 Radius remains the same, X is determined by forloop, solve for y and you got your new position... Though that would work for 0 to 180 degrees... use trig if you wanna move further. |
Author: | Homer_simpson [ Thu May 08, 2003 12:45 pm ] | ||
Post subject: | |||
I dunno if this is what yer askin for... =/
|
Author: | JSBN [ Thu May 08, 2003 6:22 pm ] |
Post subject: | |
yes, but i need it to go faster and for 90o (bottom to mid top) +10 bits for helping a mod |
Author: | Homer_simpson [ Thu May 08, 2003 6:56 pm ] | ||
Post subject: | |||
i guess this is as fast as it can be...
|
Author: | Homer_simpson [ Thu May 08, 2003 6:58 pm ] | ||
Post subject: | |||
oooooooh sorry=( nvm the last post try this one u can make it go as fast as u want
|
Author: | Asok [ Thu May 08, 2003 8:03 pm ] |
Post subject: | |
hehe JSBN, homer just figured out a nice chunk of your ISP for you. Be sure to give him credit in your ISP. |
Author: | JSBN [ Fri May 09, 2003 11:17 am ] |
Post subject: | |
yeah, will do, thx alot man |