dcsimg
A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: how angular volocity

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    6

    how angular volocity

    how do i make a button change the angular volocity of an element ive tried "set element ("spoon") angular_velocity to 100" and "set element ("spoon") angular_velocity = 100"

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    element ("spoon").angular_velocity=100


    Better yet in the start script get a handle on any element you plan to access in script like this

    spoon=element("spoon");

    then you can just use
    spoon.angular_velocity=100 etc

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    6

    i t didnt work

    it didnt spin

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Of course not that wouldn't spin it. Angluar Velocity as I recall is velocity that is relative to rotation only but does not rotate in itself.

  5. #5
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    eh?

  6. #6
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    how do i make it spin

  7. #7
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    no never mind i didnt set the spoons volocity and exeleration on. thanks

  8. #8
    Game Master ConnELITE's Avatar
    Join Date
    Apr 2005
    Location
    United States, DC
    Posts
    473
    nice spelling of Acceleration , lol (but really i like it)
    BC

  9. #9
    A Senior Newbie - How Odd ForumNewbie's Avatar
    Join Date
    Mar 2003
    Posts
    590
    For the record:

    Angular Velocity should be the rate at which the rotation angle is changing. ie. The angle is changing at 100 degrees per second.

    Therefore, increasing an angular velocity will cause the object to spin faster, and decreasing the angle should make it spin slower. In 3DFA, if I remember correctly, an Angular Velocity of 360 should equate to a rotational speed of 1 revolution per second.

    M.
    Last edited by ForumNewbie; 10-31-2005 at 03:32 PM.
    Please note that my domain has changed to http://www.morganmultinational.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center