Professional Web Applications Themes

adding a collision modifier to a created group - Macromedia Director 3D

ok, got this group,: ufoGroup = pWorld.newGroup("planegroup") and then i wanna add a collision to it like : ufogroup.addmodifier(#collision) ufogroup.collision.mode = #mesh ufogroup.collision.resolve = TRUE it doesnt work, how come?...

  1. #1

    Default adding a collision modifier to a created group

    ok, got this group,:
    ufoGroup = pWorld.newGroup("planegroup")

    and then i wanna add a collision to it like :

    ufogroup.addmodifier(#collision)
    ufogroup.collision.mode = #mesh
    ufogroup.collision.resolve = TRUE

    it doesnt work, how come?




    Chanizz Guest

  2. #2

    Default Re: adding a collision modifier to a created group

    The Collision Modifier needs to be attached to models, not groups. A group does not have any geometry as such, and the Collision Modifier needs geometry in order to work.
    openspark Guest

  3. #3

    Default Re: adding a collision modifier to a created group

    ok, damn!
    but can u put a modelsunderray on it?
    Chanizz Guest

  4. #4

    Default Re: adding a collision modifier to a created group

    No. ModelsUnderRay() will detect models, not groups, for the very same reason:
    collisions imply geometry.

    What exactly are you trying to do? It sounds as if you should:

    * Detecting collisions with the models that belong to the group
    * Determine which group the model belongs to
    * Control the collision at the group level

    openspark Guest

  5. #5

    Default Re: adding a collision modifier to a created group

    well i have a flightsim with a really cool stearing system that looks soo nice.
    Allt he stearing is made with a group that has the actual model as a child. if
    i put a collision on the model, the group will just go ahead without the model
    if there is any collision.

    Chanizz Guest

  6. #6

    Default Re: adding a collision modifier to a created group

    Would it help to make the parent of the actual model an invisible model,
    possibly with simplified geometry? This would allow you to perform collision
    detection on the invisible model, while leaving the actual model with its
    current relationship to a parent.

    openspark Guest

Similar Threads

  1. Problem with #Collision Modifier detection
    By sinopsis in forum Macromedia Director 3D
    Replies: 2
    Last Post: June 24th, 04:15 PM
  2. Group collision detection
    By optics42 in forum Macromedia Director 3D
    Replies: 2
    Last Post: March 11th, 12:23 PM
  3. Adding text to already created PDF
    By LDVDG@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 3
    Last Post: August 12th, 07:52 AM
  4. Collision modifier giving incorrect results?
    By John Simmons in forum Macromedia Director 3D
    Replies: 1
    Last Post: October 20th, 08:32 PM
  5. Adding user to the debug group
    By MS News \(MS LVP\) in forum ASP.NET General
    Replies: 0
    Last Post: August 5th, 11:33 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