Help on Rotate in 3D

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

  1. #1

    Default Help on Rotate in 3D

    I'm trying to get the camera to move and rotate to a set position over a number of keyframes. It does this when the mouse is run over another sprite. I'm calcuating the angle I want the camera to rotate though using the following line

    locang = (endang - member(1).camera("camera01").transform.rotation)/speed

    where endang is where I'm rotating to and locang and is the amount I want the camera to rotate in a single keyframe, speed is a determining factor in the time it takes to reach endAng. My problem is when dealing with angles over 90 degrees (i.e. vector(0,135,0)) the rotation of the camera goes out of control and cannot home into position. Can someone tell me what I'm missing?
    (Works fine on any angles under 90)

    Thanks

    Mark


    Madgic webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. RE-rotate
      Hi, all I have a scene include only one cast member called "cube" and this cast member include model called "red", all my need to do is "when I...
    2. 3d rotate
      Is there a way or some software that will allow me to rotate an image forward, like it is on an axis that is paralell to the ground? I am trying...
    3. Rotate Tool Won't Rotate
      I'm sure this is a simple thing, but I'm blind on it. I've got Freehand MX running on Panther. When I select an object, click the rotate tool and try...
    4. CCW Rotate and 180 rotate in PS CS are not working properly
      I have installed the singel version of Photoshop CS on a G4 under Panther and a newly purchased G5 using Panther. When a bitmap file is created (i.e....
    5. Rotate Image
      Hi, I'd like to know how to rotate an image A and then, with copyPixels, insert it into image B, is this possible? If you have any...
  3. #2

    Default Re: Help on Rotate in 3D

    a good helpful way of using the camera in director is the pointat command. this is useful to aim at an item.

    also try to use rotation rather than rotate. with rotate you can easily lose track of what your doing.

    HAIRYBOBBY - why didn't I choose a really cool name like the vulcanpimp

    [url]http://www.geocities.com/hairybobby2000[/url]

    Photograpghy section

    [url]http://www.geocities.com/hairybobby2000/px1.html[/url]

    Photoshop section

    [url]http://www.geocities.com/hairybobby2000/photo1.html[/url]
    hairybobby webforumsuser@macromedia.com 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