Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Problem for making a circle follow another... (https://forums.graalonline.com/forums/showthread.php?t=22558)

Frolic_RC2 01-30-2002 09:31 PM

Problem for making a circle follow another...
 
Basicly, I need to math for a circle following another circle...no idea how to do that. I do scripts, but I'm not to great in math (well, math I haven't yet learned). If anyone can help please do so...(this is for...gah can't say....)

Slaktmaster 01-30-2002 09:32 PM

Explain better please and I might be able to help.

grim_squeaker_x 01-30-2002 09:49 PM

Just set the x and y the following circle is drawn to, to a certain point in the other circle and you're probably all set, you could make the one spin in the other too that way for snazzy 3dish effects.

Saga2001 01-30-2002 11:56 PM

circle follow another, i know how ti make a circle...

Frolic_RC2 01-31-2002 06:33 AM

Re: Re: Problem for making a circle follow another...
 
Quote:

Originally posted by Kaimetsu


Like with my Drakkara?

Yes, but the reason I asked for the actually mathematical stuff is because its for a projectile. A magic, more exact, you played SC before? Well, if so, have you seen the reaver bullets? Basicly it makes a really cool effect with trailing circles, and it gave me a great idea...only problem is, I don't know how to do it. Bleh, I guess I will ask my math teacher or something...

Frolic_RC2 01-31-2002 06:48 AM

Quote:

Originally posted by Kaimetsu
Get the vector from the follower to the followed and then turn it into a unit vector by dividing the components by the magnitude.
...
English, I beg of you. Heh.

Frolic_RC2 01-31-2002 07:34 AM

Quote:

Originally posted by Kaimetsu


I don't want to make it too easy for you :-/

=/ You do for everyone else =( Well off to dictionary.com for me...

Frolic_RC2 01-31-2002 07:37 AM

Vector -

Mathematics.
A quantity, such as velocity, completely specified by a magnitude and a direction.
A one-dimensional array.
An element of a vector space.

Magnitude -

Mathematics.
A number assigned to a quantity so that it may be compared with other quantities.
A property that can be described by a real number, such as the volume of a sphere or the length of a vector.


Eh, now I need to decypher the meanings, althought I think I get it...

Frolic_RC2 01-31-2002 07:43 AM

Quote:

Originally posted by Kaimetsu


I never make it easy for people. Usually I just give a list of commands they need to use :-/

But, you gave me annoying math terms, when I've said math vocab is worthless...guess you have just proven me wrong. Damn that math vocab...

TDK_RC6 01-31-2002 09:51 AM

Re: Re: Problem for making a circle follow another...
 
Quote:

Originally posted by Kaimetsu


Like with my Drakkara?

your drakkara rocked

TDK_RC6 01-31-2002 10:54 AM

i dont think that i have seen the fireworks

i also dont think that it is possible for you to get any better than you already are

nyghtGT 01-31-2002 11:52 AM

Quote:

Originally posted by Kaimetsu
Get the vector from the follower to the followed and then turn it into a unit vector by dividing the components by the magnitude.
Like what do you mean by magnitude ?

Slaktmaster 01-31-2002 02:03 PM

You could solve it by using angles in the movement and make the following circle use the opposite angle, the angle minus pi.

Slaktmaster 01-31-2002 02:14 PM

Quote:

Originally posted by Slaktmaster
You could solve it by using angles in the movement and make the following circle use the opposite angle, the angle minus pi.
But I just remembered it won't work because using that method you can only make straight lines. :(

nyghtGT 01-31-2002 02:57 PM

Quote:

Originally posted by Kaimetsu


The size or length of the vector.

ahh, i see ...


All times are GMT +2. The time now is 01:18 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.