Closed Thread Icon

Topic awaiting preservation: Arc or Curve Functions Pages that link to <a href="https://ozoneasylum.com/backlink?for=8997" title="Pages that link to Topic awaiting preservation: Arc or Curve Functions" rel="nofollow" >Topic awaiting preservation: Arc or Curve Functions\

 
Author Thread
bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 01-20-2004 19:47

I'm starting to do simple game programming and it's been many moons since my high-school and college math classes. So anyone got any good resources for simple arc or curve functions? Nothing 3-d Just simple 2-d arcs.

Much thanks




.:[ Never resist a perfect moment ]:.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 01-20-2004 20:40

http://www.azillionmonkeys.com/qed/gamealgorithms.html

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-20-2004 20:42

Cool.

Could you be more specific though? Like, are you trying to

- move an object around in a circle
- make an object look like it's affected by gravity
- make an object follow an arbitrary path defined by control points

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 01-20-2004 20:45

Check the Math and Physics category of ressources @ GameDev.net.

You should be able to find what you want, either it is something like projectile curves ( initial velocity, gravity, wind ), gravitational systems ( with attractive and repuslive objects ), spring systems ( single springs, sprint networks ), bezier/spline/nurb/catmull-rom curves ...

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 01-20-2004 21:22

Right now it's to look like something is affected by gravity. The character needs to "hop" down a step.



.:[ Never resist a perfect moment ]:.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 01-20-2004 22:01

Ok, so, check the Gravity FAQ listed in the link I gave above.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 01-21-2004 02:28

Seeing as gravity came up, how would this work with celestial bodies. Say a satalite orbitting earth? Given an intitial velocity and two masses such as the 5000kg satalite and the 5.9 x 10^24 kg earth? Do you know of a tutorial on that?

-Dan-

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 01-21-2004 02:48

Check the famous site of Hugo ELIAS, and more precisely the chapters about Kinetics ( Falling under Gravity, Stars moving under Gravity )

« BackwardsOnwards »

Show Forum Drop Down Menu