calculating vector with specific angle against another vector 2004-03-22 - By James Newton
Back On 22/3/04 4:50 pm, "Roman Bl?th" <bloeth@(protected)> wrote:
> I've got a normal vector : vector(0, 1, 0) > I've got an angle (degrees): 25.0 degrees > > What I'm missing is the vector in the x/y-plane that has the angle X > against the normal vector. Someone can show me how to achieve this?
Hi Roman,
Here's a movie that will show you how the sin() and cos() functions work.
<http://nonlinear.openspark.com/tutorials/trig.dcr>
2D Director deals in radians, not degrees. You can find an explanation of radians by selecting the Radians item. The Sine and Cosine section show you how angles can be converted into x and y coordinates.
Cheers,
James
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|