OZONE Asylum
Forums
Multimedia/Animation
Wheee!
This page's ID:
11227
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Oh, btw, I don't think the physics in that thing are correct - the object doesn't follow a perfect parabolic path. The highest point in its path should be midway between the starting and ending points, and it seems to be from the right. That's not true if there's air resistance, however. So if you meant for there to be air resistance, then it works prefectly. =) The problem could be the fact that you're using "go._y [b]+[/b]= moveY", judging from the formula you use to calculate moveY, I believe you want a direct assignment there, "go._y [b]=[/b] moveY". You're adding distance to distance otherwise. You want to either *assign* distance to distance, or add *velocity* to discance (velocity is calculated by v = v0 + a*t.) [edit: using the "go._y += velocityY" way instead of the "d = moveY" way may be ever so slightly faster to calculate, although ever so slightly less accurate, also.] [This message has been edited by Slime (edited 09-26-2001).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »