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 firstname.lastname@example.org/, 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
Last edited by Achyut; 07-27-2013 at 02:22 PM.
For your perusal I am posting the relevant .SWF here:
Last edited by Achyut; 07-27-2013 at 09:25 PM.
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.
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.
I am pleased to inform you that you can now download the .FLA from:
Flashkit Movies (physics)
wow, movies section still works?
p.s. cases 1 and 3 (esp. 3) feel like bugs.
-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.
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.
Tags for this Thread
Click Here to Expand Forum to Full Width