POV-Ray : Newsgroups : povray.programming : calculating angles... Server Time
25 Dec 2024 10:41:56 EST (-0500)
  calculating angles... (Message 1 to 2 of 2)  
From: Matt Savard
Subject: calculating angles...
Date: 5 May 2000 17:29:30
Message: <39133d3a$1@news.povray.org>
I have a question. I have an object where I know the cneter (say a sphere)
and I know what angle I want it to travel at (just 2 dimensional, x and y)
How do I make that object move at that angle? Im a little rusty on my math.
I know it has to do with sin, etc but can't put it together.

Matt


Post a reply to this message

From: Chris Huff
Subject: Re: calculating angles...
Date: 5 May 2000 17:34:41
Message: <chrishuff_99-A88395.16375505052000@news.povray.org>
In article <39133d3a$1@news.povray.org>, "Matt Savard" 
<msa### [at] rainorg> wrote:

> I have a question. I have an object where I know the cneter (say a 
> sphere) and I know what angle I want it to travel at (just 2 
> dimensional, x and y) How do I make that object move at that angle? 
> Im a little rusty on my math. I know it has to do with sin, etc but 
> can't put it together.

First, this is the wrong group to post this in, povray.programming is 
for discussions of programming. The povray.newusers group would be a 
better choice, since this isn't a very "advanced" question.
As for the problem-my advice would be to look into the "translate" and 
"rotate" keywords.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.