Professional Web Applications Themes

Is there such a function in director? - Macromedia Director 3D

I'm looking for a model function that will perform an operation similar to the 'reset Xform' modifier in MAX, or the 'Freeze transformations' within Maya. Basically I want to reset a models transforms to zero without altering its current orientation/position. Thanks in advance. Jon...

  1. #1

    Default Is there such a function in director?

    I'm looking for a model function that will perform an operation similar to the
    'reset Xform' modifier in MAX, or the 'Freeze transformations' within Maya.

    Basically I want to reset a models transforms to zero without altering its
    current orientation/position.

    Thanks in advance.
    Jon

    jrPace Guest

  2. #2

    Default Re: Is there such a function in director?

    > Basically I want to reset a models transforms to zero without altering
    its
    > current orientation/position.
    What is a transform if it is not orientation/position? Scale only?
    In that case, use:

    model.transform.scale = vector(1,1,1)


    Aldo Hoeben Guest

  3. #3

    Default Re: Is there such a function in director?

    You misunderstand.

    An example.

    Take a box, rotate it 20 in the x 20 in the y and 20 in the z.
    put box.transform.rotation:- (20, 20, 20)

    The box on the screen should be rotated off from its original position.

    Basically I want to set the box's transform so that its new position is its
    'resting' position. ie if I were to put its rotation transform out, it would
    come out as (0,0,0) even though it's been rotated from its 'original' position.

    regards
    Jon

    jrPace Guest

  4. #4

    Default Re: Is there such a function in director?

    i dont think your ever gonna get that as it never will be true,

    you could use a variable as a "proxy-rotation"

    make a frame script / timeout that adjusts the actuall rotation to take
    affect of any difference
    between actual and proxy
    then simply adjust the proxy


    "jrPace" <webforumsusermacromedia.com> wrote in message
    news:c7frf0$37q$1forums.macromedia.com...
    > You misunderstand.
    >
    > An example.
    >
    > Take a box, rotate it 20 in the x 20 in the y and 20 in the z.
    > put box.transform.rotation:- (20, 20, 20)
    >
    > The box on the screen should be rotated off from its original position.
    >
    > Basically I want to set the box's transform so that its new position is
    its
    > 'resting' position. ie if I were to put its rotation transform out, it
    would
    > come out as (0,0,0) even though it's been rotated from its 'original'
    position.
    >
    > regards
    > Jon
    >

    Greg Brant Guest

Similar Threads

  1. Is it possible to add a search function in Director?
    By Dominator74 webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: October 31st, 02:55 PM
  2. Sending event or calling function in flash from director?!
    By Peleg Kurland in forum Macromedia Director Lingo
    Replies: 1
    Last Post: October 24th, 08:32 PM
  3. Replies: 4
    Last Post: August 19th, 02:14 PM
  4. calling dll-Function from Director?
    By Yurij Nykon in forum Macromedia Director Lingo
    Replies: 1
    Last Post: August 18th, 04:30 PM
  5. Can Director MX save a movie as a Director 8.5 file?
    By gooskimo webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 2
    Last Post: July 22nd, 02:30 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139