Professional Web Applications Themes

AXIS Problem - Macromedia Director 3D

Hi! I have problems with the director's camera axis and rotating with transform tag, In some cases, when I assign a new value as a vector type or directly into the coordinate, the results is I have this value inverted when I print it on message window. Example: pCamera.transform.rotation = vector ( -90.000000,-90.000000, 0.000000 ) put "1:: "&pCamera.transform.rotation.x pCamera.transform.rotation.x = - 90 put "2:: "&pCamara.transform.rotation.x On message window: 90.0000 ? -> -90 ? 90.0000 ? -> -90 ? For other hand, I don't understant this system of 3 axis with a camera, and his relation with axisangle tag. Any one ...

Sponsored Links
  1. #1

    Default AXIS Problem

    Hi!

    I have problems with the director's camera axis and rotating with transform tag,
    In some cases, when I assign a new value as a vector type or directly into the coordinate, the results is I have this value inverted when I print it on message window.

    Example:

    pCamera.transform.rotation = vector ( -90.000000,-90.000000, 0.000000 )
    put "1:: "&pCamera.transform.rotation.x
    pCamera.transform.rotation.x = - 90
    put "2:: "&pCamara.transform.rotation.x

    On message window:

    90.0000 ? -> -90 ?
    90.0000 ? -> -90 ?

    For other hand, I don't understant this system of 3 axis with a camera, and his relation with
    axisangle tag.

    Any one can tell me this realation and why I have this problem with assign this values type

    I belive could be more esay with 2 axis, too.

    greetings

    Gons



    Sponsored Links
    GONS Guest

  2. #2

    Default axis problem

    I created a simple model with three members. It is basically a room with two
    objects in it. I want to be able to rotate from a front view to a top view and
    rearrange the objects. The problem is that every time I rotate the camera to a
    top view, the axis of the two objects seems to move as well. This means if I
    try to rotate the objects along the x-axis in the front view everything is
    fine, but once I rotate to a top view, the object is now rotating along a
    different axis. I have used both custom scripts and library scripts to rotate
    the camera with the same result. I am using the library objects to drag and
    rotate the objects in the model.

    If anyone can shed some light on what I am doing wrong, I would appreciate it.

    Michael


    mmh67 Guest

  3. #3

    Default Re: axis problem

    I figured this out. The problem is in the library behavior.


    mmh67 Guest

Similar Threads

  1. Problem with horizontal axis renderers in charts
    By kgkmarar in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: April 15th, 03:36 PM
  2. Upgrade Axis 1.1 to Axis 1.2 CFMX 6.1
    By jimmatts2 in forum Coldfusion Server Administration
    Replies: 1
    Last Post: July 22nd, 04:54 PM
  3. cfchart problem: i have too many entries in on axis
    By jjmurphy in forum Macromedia ColdFusion
    Replies: 0
    Last Post: February 16th, 02:47 PM
  4. Problem with Apache Axis sever and .NET Framework client
    By Marco in forum ASP.NET Web Services
    Replies: 1
    Last Post: January 28th, 01:24 PM
  5. Replies: 1
    Last Post: June 1st, 07:36 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