# Motion of a roller on a user drawn curved plane.

• 07-27-2013, 01:12 PM
Achyut
Motion of a roller on a user drawn curved plane.
This movie illustrates the motion of a roller on a user drawn curved plane.
Please play this movie and let me know about any improvements that you may like to suggest, and also about any bugs you have found in the movie. If you want to study the action script in detail please send a PM to me, or send an email to support@gamesmostwanted.com/, so that I can E-Mail the zipped. .FLA to you.
You can play the movie at: http://www.gamesmostwanted.com/inclpln-1-4.html
___________________________
Thumbnail: Attachment 74355
• 07-27-2013, 08:22 PM
Achyut
For your perusal I am posting the relevant .SWF here:

http://www.gamesmostwanted.com/inclpln-1-4.swf
• 07-30-2013, 02:55 PM
realMakc
I just did three random lines.
At 1st it was stuck at the start.
At 2nd it rolled all the way.
At 3rd it fell through to the bottom.
• 07-31-2013, 04:32 AM
Achyut
Your three examples may be all valid.
1) The inetial slope of the curve is negative.
2) The inetial slope of the curve is positive.
3) There is a bump in the curve.
You can experiment with many alternatives.
• 08-01-2013, 02:14 AM
Achyut
Flashkit Movies (physics)
• 08-01-2013, 05:04 AM
realMakc
wow, movies section still works?

p.s. cases 1 and 3 (esp. 3) feel like bugs.
• 08-01-2013, 10:20 AM
Achyut
-When the initial slope is less than zero the roller moves in opposite direction.
-When there is a sharp bump in the curved plane the roller jumps and falls without hitting the curved plane.
The animation was coded that way.
• 08-01-2013, 10:31 AM
realMakc
Quote:

was coded that way
do you realize that it is the case with every bug ever made? the program never spontaneously does something it was not programmed to. well... unless it is low level program, and there is some buffer overrun that places random data in its code memory - and even in that case, it's because it was coded in the way that allowed it to do so.