|
-
Feb 20th, 2006, 06:30 PM
#1
Thread Starter
Arabic Poster
[RESOLVED] Circular orbit!
Hi all...
Does anybody know how to implement as circular orbit for a point (something to move in a circle)
I've tried lots of methods depending on (cos , sin) but it ain't that good
P.S. The language isn't a problem.. I know'em all
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 21st, 2006, 10:37 AM
#2
Lively Member
Re: Circular orbit!
Ok since the language is not a problem (you know'em all) my answer in greek:
Allaxe se polikes syntetagmenes kai ayxise diadoxika ti gwnia theta apo mithen mehri dyo pi.
"bla, bla,... exists number M so for each n > M bla, bla..." Exists? Where is it? (Kronecker said...)
-
Feb 21st, 2006, 02:09 PM
#3
Re: Circular orbit!
Easiest way: do it in cylindrical polars. i.e. change your coordinate system to r and theta. Then just increment theta with each time step, or use the angular velocity to work out where you are around the orbit. Angular velocity is, as you might expect, 2Pi/T where T is the period of rotation (using radians).
If you must do it in cartesians, then X = r cos theta, Y = r sin theta.
zaza
-
Feb 21st, 2006, 02:47 PM
#4
Thread Starter
Arabic Poster
Re: Circular orbit!
 Originally Posted by zaza
Easiest way: do it in cylindrical polars. i.e. change your coordinate system to r and theta. Then just increment theta with each time step, or use the angular velocity to work out where you are around the orbit. Angular velocity is, as you might expect, 2Pi/T where T is the period of rotation (using radians).
If you must do it in cartesians, then X = r cos theta, Y = r sin theta.
zaza
I've been doing it this way but I didn't realise this until you explained it to me 
Thank you very much!
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 21st, 2006, 02:59 PM
#5
Lively Member
Re: Circular orbit!
 Originally Posted by zaza
Easiest way: do it in cylindrical polars. i.e. change your coordinate system to r and theta. Then just increment theta with each time step,
Exactly what i suggested in greek
"bla, bla,... exists number M so for each n > M bla, bla..." Exists? Where is it? (Kronecker said...)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|