adding a collision modifier to a created group

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

  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. Similar Questions and Discussions

    1. Problem with #Collision Modifier detection
      Hi all Please help me. Using #collision modifier, I cant detect collision with an editable spline model imported from dwg (Autocad) to...
    2. Group collision detection
      :confused; I have a W3D object with 3 moveable parts. I want to detect collision between any of the parts and a fixed, target object. The...
    3. Adding text to already created PDF
      HOW do i add text to a PDF that someone else has created? It is a form. I simply want to add a street address so that I don't have to retype it...
    4. Collision modifier giving incorrect results?
      Does anyone know of any reason the Collision modifier would report a false collision on models, type #box, with scale different than vector(1,1,1)?
    5. Adding user to the debug group
      Use Active Directory or Add your users to each machine or Someone else has a better Idea "Olle de Zwart" <olle@endforward.com> wrote in...
  3. #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

  4. #3

    Default Re: adding a collision modifier to a created group

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

  5. #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

  6. #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

  7. #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

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