Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default Re: snap to in 3D

    -2 ways spring to mind.

    1) Create a 2d grid then translate the world position of the model into 2d
    sprite loc position. Then snap it to your grid.

    2) or use a 3d grid (much the same as the other one) in that it's still 2d
    only define to axis. Then again when in that grid snap the position to the
    middle of that grid.

    Probably require a list of the grid and continual checking of which grid
    number you are in.

    Chris

    "billbones" <webforumsuser@macromedia.com> wrote in message
    news:bhk7vt$895$1@forums.macromedia.com...
    > what would be the best way to create a snap to where the user moves a 3d
    model and on mouseup the model snaps to a grid defined on the plane of
    another object.
    >
    > I have a box. And the user has to put a series of objects in the box so
    they lay flat on the bottom in their respective places. The point at which
    they are placed has to be at the point on the plane under the mouseloc.
    >
    > I guess what I would need is a way in which a vecor could be got from the
    point where the mouse intersects the plane of the bottom of the box.
    >
    > Do I have to create dummy objects (invisable) in the places I want the
    ojects to go? Or is their another way?
    >
    > Thanks
    >
    > bill
    >
    >

    Raki Guest

  2. Similar Questions and Discussions

    1. How-to Snap MC released on another?
      I'm an AS novice- but upon releasing a MC dragged upon another, I'd like it to snap into a final position over the drop MC. Since I don't want it to...
    2. guides & snap
      Hi, This is my 1st time using FH, previously an experienced Illustrator user. I'm having trouble with guides (dragged from the rulers) not...
    3. Snap Distance?
      In FH11 for Windows, I am unable to change the snap distance in Preferences. Suggestions? Thanks. Phil
    4. snap
      Our studio is based in a large historic mill and has 24 hour access and parking. We benefit from easy close access to the motorway and main railway...
    5. .NET Web Services are a Snap
      I have had little difficulty writing .NET Web Services and Web Service clients using Visual Studio .NET. However I am running into problems trying...
  3. #2

    Default Re: snap to in 3D

    You can inspire from the "Terrain following" code by Tom Higgins at the
    following URL:
    [url]http://www.directordev.com/learning/demo_movies/3D/modifiers/bonesPlayer/ter[/url]
    rain_following/default.htm



    Karl Sigiscar Guest

Posting Permissions

  • You may not post new threads
  • You may 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