Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 918603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:24:16+00:00 2026-05-15T18:24:16+00:00

So I have a circle of planes which get constructed as: plane.x = Math.cos(angle)

  • 0

So I have a circle of planes which get constructed as:

plane.x = Math.cos(angle) * radius;
plane.z = Math.sin(angle) * radius;
plane.rotationY = (-360 / numItems) * i - 90;

which calculates how many angular slices there are for total number of planes (rotationY) and places each plane into it’s place on a circle of radius.

then to update their rotation around the circle I have:

var rotateTo:Number = (-360 / numItems) * currentItem + 90;
TweenLite.to(planesHolder, 1, { rotationY:rotateTo, ease:Quint.easeInOut } );

as you can see planes are circling and each is oriented 90 degrees out from the circle.
I’m using this as a reference – it’s pretty much that: http://papervision2.com/a-simple-papervision-carousel/

Now, what I’d like to find out is how could I calculate degree of orientation for each individual plane to always face camera without normal, if it’s possible at all. I’ve tried plane.LookAt(camera), but that doesn’t work. Basically every plane should have orientation as the one facing camera in the middle.

Somehow I think I can’t modify that example from link to do that.

edit: OK I answered my own question after I wrote it. Helps to read your own thoughts written. So as I’m orienting planes individually and rotating them all as a group, what I did after tween of the group in code above, was to loop through each plane and orient it to the Y orientation of the forward plane as so:

for (var i:int = 0; i < planes.length; i++) {
    TweenLite.to(planes[i], 1, { rotationY:(-360 / numItems * rotoItem - 90), ease:Quint.easeInOut } );
} 

rotoItem is the one at the front. Case closed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:24:16+00:00Added an answer on May 15, 2026 at 6:24 pm

    OK I answered my own question after I wrote it. Helps to read your own thoughts written. So as I’m orienting planes individually and rotating them all as a group, what I did after tween of the group in code above, was to loop through each plane and orient it to the Y orientation of the forward plane as so:

    for (var i:int = 0; i < planes.length; i++) {
        TweenLite.to(planes[i], 1, { rotationY:(-360 / numItems * rotoItem - 90), ease:Quint.easeInOut } );
    } 
    

    rotoItem is the one at the front. Case closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have drawn circle using circle = new google.maps.Circle({ map: map, radius: r, //
I have a circle when mousemove I can get e.GetPosition(this). But how to programmatically
I have one triangle ad one circle moving objects on plane.How will i know
The theory is this: I have a circle C of radius R and centre
Can I Have circle-shape buttonset (use in radio button) from jqueryUI? as I get
I have drawn a circle and applied radial gradient. fine. But when i changed
If I have an animating circle as in this example , is there a
What does it mean when my servers have a white circle instead of a
i have drawed some figure(circle, rectangle or just a line) and after that i
I have to draw a circle in live wallpaper when it touches the boundary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.