Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: moving a ball with friction |
From: | Chad Kraeft |
Date: | Mon, 24 Jul 2000 23:42:20 +0100 |
don't forget to add a subroutine for minimum force needed to move
(otherwise, your object will roll forever, at smaller and smaller speeds,
etc).
If (../:speedX > minspeed)
Set Variable: "../:speedX" = (../:speedX * ../:friction)
Else
Set Variable: "../:speedX" = 0
End If
> -----Original Message-----
> From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Keenan
> Keeling
> Sent: Monday, July 24, 2000 11:57 AM
> To: flasherchinwag [dot] com
> Subject: RE: FLASH: moving a ball with friction
>
>
> Paul,
>
> Think about this equation:
> Set Variable: "../:speedX" = (../:speedX * ../:friction)
> It will decrease the speed of the ball after every
> frame...depending on how
> you use it. Do the same thing to adjust the y speed.
>
> Keenan
> -----Original Message-----
> From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of jill skil
> Sent: Monday, July 24, 2000 12:59 PM
> To: flasherchinwag [dot] com
> Subject: FLASH: moving a ball with friction
>
>
> i am not sure if my previous post went through or not
>
> i am trying to figure out a way to program a ball to move much like a golf
> ball would. depending on a variable i would like to move the ball at a
> certain speed then slowly slow the ball down untill it stops. i
> can get the
> ball to move at different speeds but i cant figure out how to slow it down
> gradually and then stop
>
>
> any help would be great
>
> thanks
> paul
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: MAILTO: form data return, John & Kim Gough
Replies
RE: FLASH: moving a ball with friction, Keenan Keeling
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]