Professional Web Applications Themes

have a dummy folow an other... - Macromedia Director 3D

Hi there! Im going to do a house simulation. It will not be possible to walk in the house, just rotate it, as yuo would do on a smaller product simulation. Heres the thing. I would like to remove the roof with a mouse click on a menu, so i cant have the roof in the same dummy as the rest of the house. How can i make the dummy roof follow the dummy house when i use drag model to rotate? Hope you understand my bad english. Have a nice weekend...

  1. #1

    Default have a dummy folow an other...

    Hi there!
    Im going to do a house simulation. It will not be possible to walk in the
    house, just rotate it, as yuo would do on a smaller product simulation.

    Heres the thing. I would like to remove the roof with a mouse click on a
    menu, so i cant have the roof in the same dummy as the rest of the house. How
    can i make the dummy roof follow the dummy house when i use drag model to
    rotate?

    Hope you understand my bad english. Have a nice weekend

    biiin Guest

  2. #2

    Default Re: have a dummy folow an other...

    I'm not real sure what you mean about the dummies, but if the roof is a
    different model than the rest of the house, then you can simply set the
    ..visibility of the model to #none and it will disappear.

    member("w3dMember").model("roof").visibility=#none

    To make it visible again, change the visibility back to #front or #both
    Mike Guest

  3. #3

    Default Re: have a dummy folow an other...

    Oh yeah. You may want to parent the roof model to the house which will
    make it rotate when the house rotates

    member("w3dMember").model("roof").parent=model("ho use")
    Mike Guest

  4. #4

    Default Re: have a dummy folow an other...

    this is the code im using.

    on exitFrame me
    member("shockwave").model("tak").parent=model("hus ")
    end

    tak = swedish for roof and hus, yes, You?v guessd it, means house. When i use
    thise code i get handler not definied , #model

    Am i lost in space? ;-)

    biiin Guest

  5. #5

    Default Re: have a dummy folow an other...

    Is member("shockwave") a shockwave 3d (w3d) member?
    Mike Guest

  6. #6

    Default Re: have a dummy folow an other...

    Ahhh. My mistake.. Try it like this:

    member("shockwave").model("tak").parent=member("sh ockwave").model("hus")
    Mike Guest

  7. #7

    Default Re: have a dummy folow an other...

    Worked like a charm!
    Now i just have to set the pivot ponts at the same cordinates....don?t know
    why, but my roof got tilted 90 degress...going to check that now.

    Thank you so much for your time and help!

    biiin Guest

  8. #8

    Default Re: have a dummy folow an other...

    I tryed this to get the roof (tak) to get bak into original position...but i
    cant get it to work. Is it beacuse of the parent code?

    global object_WT
    on exitFrame me
    object_WT = member("shockwave").model("tak").getWorldTransform ()
    member("shockwave").model("tak").parent=member("sh ockwave").model("hus")
    member("shockwave").model("tak").transform = object_WT
    end

    biiin Guest

  9. #9

    Default Re: have a dummy folow an other...

    Yes, it is due to the parent code that it is doing it. Just rotate it
    by -90 degrees aon whichever axis you need to once the parent command
    runs.

    A little off topic, but I would recommend that if you are doing anything
    intense in shockwave 3d, you should look into the 3DPI (3d property
    inspector). It is free to use, though there is a popup every 15 minutes
    or so unless you purchase it. It shows all the properties of all the
    models, textures, lights, etc in your scene in a very intuitive way and
    it is supremely helpful.

    http://www.3dpi-director.com/
    Mike Guest

  10. #10

    Default Re: have a dummy folow an other...

    Alright!
    Just tried the 3DIP for about...hmm, 3 minutes. Love it!!!

    Thank you so very much!
    biiin Guest

  11. #11

    Default Re: have a dummy folow an other...

    Yeah. It is well worth the price. It is among the most useful authoring
    helpers out there. It really is the sort of thing that in my humble
    opinion ought to be a part of Director natively.
    Mike Guest

Similar Threads

  1. HELP DUMMY
    By bethan81 in forum Dreamweaver AppDev
    Replies: 2
    Last Post: February 26th, 04:08 PM
  2. Freehand dummy please help
    By wolfe1 in forum Macromedia Freehand
    Replies: 5
    Last Post: July 29th, 08:58 PM
  3. Dummy xserver
    By Jonathan in forum Sun Solaris
    Replies: 4
    Last Post: August 15th, 04:07 PM
  4. Dummy text
    By thh webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 2
    Last Post: July 7th, 04:24 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