You're bound to run into situations where you need at least trigonometric functions to be able to code anything in (simulation) games. Maybe you need to buy a textbook covering highschool level math, or else you're going to be stuck with these kinds of questions all the time.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

It's not simulation, and I will be in highschool in three years (hopefully).I'm doing it because I want to learn something, and i thought that you will help me.I'm not asking for solution for my problem, just help.

My honest attempt to help you was to suggest you'd use the sine and cosine functions in Java. When you said you weren't aware of their existence, or how they worked, I thought it was best to tell you how you could learn more about them.

But that's just my $0.02 - if there are people that are able to answer your question without you having to learn basic trigonometry, I'd be surprised.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

@Riven - I was talking about time & angular drift...but I've obviously come to the wrong place. Everyone ignore me.

I basically said that in my post. I jokingly said that this (angular) drift would not affect his ability to rotate objects in perfect circles. For added clearity, I added 'on a serious note', which is an indication that the previous remark was not serious, after which I explained to him how he could get rid of this angular drift, by using different parameters (absolute time, instead of relative time), so errors cannot accumulate. I thought that was clear, but obviously I've come to the wrong place. Everybody ignore me.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

if there are people that are able to answer your question without you having to learn basic trigonometry, I'd be surprised.

I said that I want to learn it. I appreciate your help, and I want to know more.I was wondering what is velocity and delta form zngga's post.

I don't want to piss off anybody

Velocity allows you to set a speed for the orbit, it isn't entirely necessarily. Delta is from a game loop development style called "Delta Timing". Essentially it represents the time between updates. And as Roquen said, it will lead to compounding errors... meaning that the delta time is never perfectly accurate and after larger sums of time, that imperfection will add up to a noticeable error.

@Riven - OP doesn't understand basic sinusoid functions, so talking about the compounding of errors coupled with summing up a sampled function in this thread (place) doesn't make sense. So ignore my comment as it was out-of-place.

@Riven - OP doesn't understand basic sinusoid functions, so talking about the compounding of errors coupled with summing up a sampled function in this thread (place) doesn't make sense. So ignore my comment as it was out-of-place.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org