| View previous topic :: View next topic |
| Author |
Message |
fattymc03
Joined: 11 Feb 2006 Posts: 18
|
Posted: Fri Feb 17, 2006 1:58 am Post subject: math equations to map out an objects path |
|
|
| lets say i want to have an object come on screen and follow a certain path. like if i wanted it to follow y=x^2 where x > 0, so the object travels along a curve (right half of parabola). if i actually moved it along those returned x,y values the animation would of course become jumpy since x is increasing exponentially. what should i do to just make it follow the path without actually using the math. sorry if this doesnt make sense. i cant type it the way im thinking about it |
|
| Back to top |
|
 |
KawaGeo
Joined: 27 Aug 2005 Posts: 191 Location: Calif Mountains
|
Posted: Fri Feb 17, 2006 2:46 am Post subject: |
|
|
I think I know what you meant. Use y as a domain instead of x, i.e. x = sqrt(y), y > 0.
Hope it helps. _________________ Geo Massar
Retired Engineer |
|
| Back to top |
|
 |
|