bone[boneid].transform

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

  1. #1

    Default bone[boneid].transform

    I'm unable to change transform of a bone. I do it in the next way: boneid =
    mymodel.resource.getBoneID(validname) bonetransform =
    mymodel.bonesPlayer.bone[boneid].transform bonetransform.scale = vector(2, 2,
    2) mymodel.bonesPlayer.bone[boneid].transform = bonetransform Every line of
    the code works, every value is valid and so on, but the last line is like it is
    skipped. Transform object of the bone does not change. Why? Thank you,
    Dmitry.

    DeliMIter Guest

  2. Similar Questions and Discussions

    1. Change the length of a bone via Lingo
      I have been trying to find out if it is possible to alter the length of a bone with Lingo. All I've been able to find it how to rotate the bone but...
    2. Parent/Bone
      Not that I bone my parents but, Is it possible to have a bone as a parent to a model ? Im using lightwave and when I attempt to do this and...
    3. a bone to pick
      as a strong CF advocate, take this as a friendly gripe. and if someone more experienced can explain why this 'problem' is actually not a problem,...
    4. bone contstraints no longer work (did they ever?)
      I pulled up an old IK robot arm project made by David Cowperthwaite and attempted to make an exe and/or Shockwave version, but it doesn't seem to...
    5. joining a model to a bone in Lingo
      Hello there. I have a bone-animation (3ds-max) - of a chicken, no less :-) - and I would like to join a hat from another 3d cast member to the...
  3. #2

    Default Re: bone[boneid].transform

    DeliMIter wrote:
    > I'm unable to change transform of a bone. I do it in the next way: boneid =
    > mymodel.resource.getBoneID(validname) bonetransform =
    > mymodel.bonesPlayer.bone[boneid].transform bonetransform.scale = vector(2, 2,
    > 2) mymodel.bonesPlayer.bone[boneid].transform = bonetransform Every line of
    > the code works, every value is valid and so on, but the last line is like it is
    > skipped. Transform object of the bone does not change. Why? Thank you,
    > Dmitry.

    IIRC there´s no way of manually setting the bone´s transform (I could
    be wrong... long time without struggling with this). I think that you´re
    looking for pragma bones. They´re are undocumented and not the easiest
    to set up.

    [url]http://www.imonk.com/jason/bones/pragma_bones.html[/url]

    Good luck,
    --
    Agustín María Rodríguez | Interactive Director
    Methanoia Studio | [url]http://www.methanoia.com[/url]
    ---------------------------------------------------
    [url]www.onwine.com.ar[/url] > samples & code
    Agustín María Rodríguez Guest

  4. #3

    Default Re: bone[boneid].transform

    There also was an example of an arm robot using this technique... it was
    posted here before. It must be somewhere in the archives of the forum.
    --
    Agustín María Rodríguez | Interactive Director
    Methanoia Studio | [url]http://www.methanoia.com[/url]
    ---------------------------------------------------
    [url]www.onwine.com.ar[/url] > samples & code
    Agustín María Rodríguez Guest

  5. #4

    Default Re: bone[boneid].transform


    The article Augustin talks about is on the Director User Group (DOUG):
    [url]http://director-online.com/buildArticle.php?id=1052[/url]

    Best regards,
    Karl.

    Newt99 Guest

  6. #5

    Default Re: bone[boneid].transform

    Newt99 wrote:
    > The article Augustin talks about is on the Director User Group (DOUG):
    > [url]http://director-online.com/buildArticle.php?id=1052[/url]
    hhmm.. actually, I was referring to this example (paul hosted it but
    it´s from David Cowperthwaite) but I was quite busy for finding it:

    [url]http://www.videoideas.com/gallery/paul/_arm.dir[/url]

    HTH,
    --
    Agustín María Rodríguez | Interactive Director
    Methanoia Studio | [url]http://www.methanoia.com[/url]
    ---------------------------------------------------
    [url]www.onwine.com.ar[/url] > samples & code
    Agustín María Rodríguez Guest

  7. #6

    Default Re: bone[boneid].transform

    When I view this demo the base arm unit follows the green dot , but the rest
    of the arm segments just points straight in the air. Does anyone else have
    this issue? The arm doesn't actually bend properly.

    Richard


    Richard Guest

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