A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Rotating an object around a center point using X, Y and Z axis

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    Hey,

    Does anyone know how I can rotate an object in a virtual world around a center point?? - Like a moon cicling around a planet or something like that. I only need to know how I change the X, Y and Z variables, not how to get the right position on the screen.

    Thanx!

  2. #2
    Banned-ed-er-ing WMLeeBo's Avatar
    Join Date
    Mar 2001
    Posts
    1,482
    In 3d max you can use a circle to make a motion path type thing, but dont ask me how to do it.

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    Actually I ment how I could write the code in a 3d engine..

  4. #4
    Senior Member
    Join Date
    Mar 2000
    Posts
    341
    Building a 3D engine is a pretty big topic. So you might want to check this site. It's a great place to learn about 3D and Flash5 among other things.

    http://www20.brinkster.com/ahab/index.htm
    Go Math Tutorials then 3D

    Also, check the movies section for 3D engines so you can tear them apart.

    Alex

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