Professional Web Applications Themes

Handler Error - Macromedia Director 3D

Hello, I was hoping someone could help me. I have a scene set up with Collision Modifiers, when the character that I control walks into another object it is supposed to change frame. It does that BUT it also looks for a model in the next frame called Character - this doesnt exist as only one frame contains a w3d file. This is the error message I get... Handler not found in object. spriteme..... // it then lists the model name and the command to translate it. (caused by my arrow key press) It seems to be passing commands from ...

Sponsored Links
  1. #1

    Default Handler Error

    Hello, I was hoping someone could help me. I have a scene set up with
    Collision Modifiers, when the character that I control walks into another
    object it is supposed to change frame. It does that BUT it also looks for a
    model in the next frame called Character - this doesnt exist as only one frame
    contains a w3d file.

    This is the error message I get...
    Handler not found in object. spriteme.....
    // it then lists the model name and the command to translate it. (caused by my
    arrow key press)

    It seems to be passing commands from one frame to the next - what is causing
    it and how do I stop it? Thanks in advance...

    Sponsored Links
    mbrown174 Guest

  2. #2

    Default Re: Handler Error

    The collision callback handler is called between exitFrame on frame n and
    stepFrame on frame n+1. In other words, collision detection takes place before
    any other action on a given frame.

    However...

    When you use the go command to make the playback head jump to a different
    frame, the collision callback handler is called twice: once before stepFrame
    and once before enterFrame. If you are using a 'go the frame" loop, you will
    get two collision callbacks on every frame.

    Your solution may be to clear the collision callback before jumping to a
    different frame.

    If you are using the collision callback itself to trigger the jump to the new
    frame then you might like to rethink this. One approach would be to set flag
    in the collision callback handler, and to test on exitFrame if that handler has
    been set. If the handler is set, the exitFrame handler would clean up the 3D
    world then jump to the new frame.

    openspark Guest

  3. #3

    Default Re: Handler Error

    Hello Thanks for the help. I found a way around the problem - by using the resetworld command whenever my movie jumps frames. Thanks again
    mbrown174 Guest

Similar Threads

  1. Site-wide Error Handler
    By Dc28PD in forum Coldfusion Server Administration
    Replies: 0
    Last Post: May 12th, 09:46 PM
  2. Handler error in items.count
    By eggler in forum Macromedia Director Basics
    Replies: 0
    Last Post: October 27th, 06:17 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