A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: 3D trigonometry question - Experts??

  1. #1
    Bob (the singing sock)
    Join Date
    Aug 2000
    Location
    Århus, Denmark
    Posts
    472

    3D trigonometry question - Experts??

    Hi,

    I have a bunch of products that are attached from the library. All are exported from 3D models and are placed in 0,0 in their respective MC's and cropped as tightly as possible.
    Values for length, depth and height stored in a product array.

    I'm looking for a way to calculate the spot marked in the attached (trig.gif)??

    Any clues out there?
    Best regards
    //poden
    Attached Images Attached Images

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Location
    127.0.0.1
    Posts
    154
    the best question is what values DO you have, any angles, or lengths of the skewed sides? more information the better, this doesnt seem too difficult but that all depends on what you have to start out with. unless ofcourse its just an image and you want to use values like obj.length and obj.width if so, say so....then this will be more ...... fun lets say.

    jimmyobob.

  3. #3
    Bob (the singing sock)
    Join Date
    Aug 2000
    Location
    Århus, Denmark
    Posts
    472
    Hi jimmyobob,

    Like I wrote [QUOTE]Values for length, depth and height stored in a product array./QUOTE]

    Anyroad ... I found a .fla at Senoculars place (http://www.senocular.com/) from an example named horsebox.

    Got it all sort of working now.
    //poden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center