|
-
spiral motion trigonometry?
I want to make an object "ball" move from whereever it's at to new variable X and Y posistions. Furthermore I want it move along a spiral path.
I guess these would be the variables involved:
- newX (new X position)
newY (new Y position)
counter (how many steps)
curveFactor (how curved should the motion be)
Can anybody help me out with some code?
podenphant
-
This link isnt quite what you want, but it may help you out with the spiral math:
http://www.flashguru.co.uk/flash5/spiral.fla
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|