Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2002, 09:31 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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....)
Reply With Quote
  #2  
Old 01-30-2002, 09:32 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Explain better please and I might be able to help.
Reply With Quote
  #3  
Old 01-30-2002, 09:49 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

Reply With Quote
  #4  
Old 01-30-2002, 11:56 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
circle follow another, i know how ti make a circle...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #5  
Old 01-31-2002, 06:33 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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...
Reply With Quote
  #6  
Old 01-31-2002, 06:48 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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.
Reply With Quote
  #7  
Old 01-31-2002, 07:34 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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...
Reply With Quote
  #8  
Old 01-31-2002, 07:37 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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...
Reply With Quote
  #9  
Old 01-31-2002, 07:43 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
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...
Reply With Quote
  #10  
Old 01-31-2002, 09:51 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Re: Re: Problem for making a circle follow another...

Quote:
Originally posted by Kaimetsu


Like with my Drakkara?
your drakkara rocked
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #11  
Old 01-31-2002, 10:54 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
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
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #12  
Old 01-31-2002, 11:52 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 ?
Reply With Quote
  #13  
Old 01-31-2002, 02:03 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
You could solve it by using angles in the movement and make the following circle use the opposite angle, the angle minus pi.
Reply With Quote
  #14  
Old 01-31-2002, 02:14 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
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.
Reply With Quote
  #15  
Old 01-31-2002, 02:57 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by Kaimetsu


The size or length of the vector.
ahh, i see ...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:44 AM.


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