13 years, 7 months ago
Highlights
13 years, 7 months ago
Yeah, that's what I meant when I said that it'd follow the cursor. You could make it so that it only runs that when the orbital velocity is zero or else use velocity vectors and…
13 years, 7 months ago
Hi, first time posting here. I'm having problems with some trigonometry calculations in as3. Here's the swf file, i can move the ship forwards and backwards but things get weird…
13 years, 7 months ago
I did this after you wrote the calculations; starttrx=x-mouse.x; starttry=mouse.y-y; angle=Math.atan2(starttry,starttrx); angle+=vo; newtrx=Math.cos(angle);…
13 years, 7 months ago
13 years, 7 months ago
Latest Activity
See all in DiscussionsYeah, that's what I meant when I said that it'd follow the cursor. You could make it so that it …
13 years, 7 months ago
I did this after you wrote the calculations; starttrx=x-mouse.x; starttry=mouse.y-y; angle=Math.atan2(starttry,starttrx); angle+=vo; newtrx=Math.cos(angle); newtry=Math.sin(angle)
13 years, 7 months ago
I'd just limit the maximum angle you can move by if you are too close to the cursor, or if …
13 years, 7 months ago