Professional Web Applications Themes

parent thoughts - Macromedia Director 3D

Hi there! Some might have seen my discussion about parent. Got that figured out! Thanks Mike!! Now, here?s the next problem i ran into. I have a house wich i can rotate now, and the roof follow thanks to the parent script. But when the roof i visable, i can?t rotate the house, because the roof is in the way. Is it possible to let the mouse igonere the roof so i still can drag to rotate my house? (using drag model to rotate and the house is parent to roof, so roof follow house)....

  1. #1

    Default parent thoughts

    Hi there!
    Some might have seen my discussion about parent. Got that figured out! Thanks
    Mike!!

    Now, here?s the next problem i ran into. I have a house wich i can rotate now,
    and the roof follow thanks to the parent script.
    But when the roof i visable, i can?t rotate the house, because the roof is in
    the way. Is it possible to let the mouse igonere the roof so i still can drag
    to rotate my house? (using drag model to rotate and the house is parent to
    roof, so roof follow house).

    biiin Guest

  2. #2

    Default Re: parent thoughts

    It kind of depends on how your prgram works and what it is meant to do,
    but perhaps an easy way around the issue would be to make the house and
    the roof models into a single model. In 3d Studio Max, you can group
    them together and re-export. Just make sure that they use different
    materials (shaders).

    Now, in Director, they are a single model, so the drag to rotate will
    work. If you want the roof to disappear, you can adjust the visibility
    of it's shader by changing it's blend value to 0.

    member("house").shader("roofShader").blend=0

    Then you can change the blend back to 100 when you want it to reappear.
    Mike Guest

  3. #3

    Default Re: parent thoughts

    This is the best resolution by far!! Im so very happy =)..

    Is it possible to use thise when using a multi subobject textures to? Using 3Ds max if any one would liked to know ;-)

    biiin Guest

Similar Threads

  1. CSS Thoughts
    By csa in forum Macromedia Dynamic HTML
    Replies: 4
    Last Post: November 3rd, 01:14 PM
  2. #24735 [NEW]: call_user_func on parent method does not use parent private property
    By tater at potatoe dot com in forum PHP Development
    Replies: 0
    Last Post: July 21st, 12:50 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