Professional Web Applications Themes

Cloning delay gets worse and worse - Macromedia Director 3D

In my project, I clone and delete a lot of models (bullets) almost constantly. The system has no trouble handling that number of models in the world, yet for some reason, as the project runs, there starts being a noticeable delay whenever something is cloned. In under a minute, the game is slowed down to incredible choppiness whenever something needs to be cloned, even though the total number of objects in the scene is roughly the same (sometimes lower). More importantly, this delay does NOT happen if I make new models instead of cloning. I have already checked and as ...

  1. #1

    Default Cloning delay gets worse and worse

    In my project, I clone and delete a lot of models (bullets) almost constantly.
    The system has no trouble handling that number of models in the world, yet for
    some reason, as the project runs, there starts being a noticeable delay
    whenever something is cloned. In under a minute, the game is slowed down to
    incredible choppiness whenever something needs to be cloned, even though the
    total number of objects in the scene is roughly the same (sometimes lower).
    More importantly, this delay does NOT happen if I make new models instead of
    cloning. I have already checked and as far as I can tell, I am disposing of all
    the models appropriately. (And even if I wasn't, switching to newModel wouldn't
    make the symptoms go away if that was the problem.) How can creating,
    parenting, and adding shaders to several models be faster than cloning one?
    (Even if it is, why would cloning an object take longer and longer as the scene
    continues?)

    In short, am I doing something wrong when I clone, or is this a flaw inherant
    to cloning and I should be avoiding it and using newModel instead?

    RavenWorks Guest

  2. #2

    Default Re: Cloning delay gets worse and worse

    I hate to just bump a thread like this, but not being able to clone objects is
    really complicating my projects... Is this a known issue? Is there anything I
    can do? Why is cloning so quick at first, but so bad as time goes on?

    RavenWorks Guest

Similar Threads

  1. shrinking photo/dpi gets worse!
    By Kari in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 13
    Last Post: October 3rd, 03:30 AM
  2. User Password Problem Getting Worse - Please Help
    By Johnny Wright in forum Windows Server
    Replies: 2
    Last Post: July 8th, 04:23 PM
  3. Why is unlinking a directory bad or worse then rmdir
    By Paul Kraus in forum PERL Beginners
    Replies: 17
    Last Post: October 5th, 05:22 AM

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