Professional :: 3D Rotation For Symbol About Y Axis Using Pivot Point

Nov 13, 2011

I am trying to rotate a symbol about the y-axis, 45 degrees one direction, then back to center, then 45 degrees the other direction. Seems like a relatively simple task, except here is what happens.

Here is the object with no rotation:
Here is the object rotated exactly 45 degrees:
And here is the object rotated exactly -45 degrees:

I need the object to rotate the same as it did the first time but in reverse, otherwise "45" and "-45" are generally worthless numbers to refer to. Is it something to do with the pivot point? I made sure the registration point was in the center when I created the symbol. It doesn't seem to be pivoting the object around the center though. How do I rotate about the y-axis using a pivot point that is actually in the center and gives the same (but opposite) effect when rotating it one way versus the other?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Defining Rotation (pivot) Point

Sep 11, 2008

I am rotating some objects which their rotation (pivot) point is not at the center. My aim is to rotate from the center of the shape. How can I overcome this?

View 1 Replies

ActionScript 3.0 :: Determine The "rotation Point" (axis?) Of An Object?

Feb 19, 2009

How do you determine the "rotation point" (axis?) of an object?

A sprite/movieclip that has been loaded using a Loader has its rotation point set to the upper-left corner. What I want to know if how I manually (using ActionScript) set it to the center.

View 9 Replies

ActionScript 3.0 :: How To GradientFill Rotation Pivot

May 26, 2009

I have a problem with Gradient in AS3. There is a scene with Rectangle created with lineTo():

graphics.moveTo(p1.x, p1.y);
graphics.lineTo(p2.x, p2.y);
graphics.lineTo(p3.x, p3.y);

[code]....

View 1 Replies

Professional :: How To Set X Axis Inside Symbol

Aug 28, 2010

I need to set the X axis 0 to the left of the stage, and I dont know how to do it.

View 3 Replies

Follow Mouse From A Pivot Point?

Jun 8, 2009

I am trying to have a flashlight follow the mouse from it's pivot point. Rotating from its registration point, 180 degree rotation. Also have it move back to place if the mouse is off stage.

View 1 Replies

Change Pivot Point For A Graphic?

Jul 7, 2010

How do you change the Pivot point for a graphic on MX 2004?  It defaults to the middle and I need it on the end of the graphic.

View 3 Replies

ActionScript 3.0 :: Change The Skeleton's Pivot Point To Hip?

Sep 15, 2009

How do i change the skeleton's pivot point to hip?? "reset Transformation point" doesnt doin it!!

View 6 Replies

Professional :: Rotate A Symbol On The X Axis Multiple Times For An Animation

Jun 6, 2011

I am trying to rotate a symbol on the x axis mulitple times for an animation I am doing. The problem is everytime I try to do a complete rotation, the symbol rotates fine until I hit 180 degrees, but once I go past that mark, the symbol just starts rotating backwards. Is there a certain way I have to do this in order to get a complete rotation in one direction?

View 1 Replies

Professional :: CS5 Bug: Symbol Rotation Points Shifting With Long Timelines

May 16, 2010

I have come across a large, and very annoying bug in CS5. When animating with the same symbols over a long and complicated timeline, the rotation points of symbols earlier in the timeline begin to shift around very slightly. The more you work on the flash, the more they shift, so things that you did right at the start will begin to wobble around all over the place once your timeline gets very big. This is because, as we all know, when you tamper with a tweened symbol's rotation point, the symbol moves out of place while tweening.
 
This has completely ruined a large project I was working on that I began in CS4.
 
I am using a Mac Pro running 10.6.3

View 4 Replies

Professional :: Rotation - Slight Pulsing As The Symbol Rotates When The Animtaion Plays

Aug 14, 2010

I've got a symbol that's circular, and I'm trying to make it rotate. My problem is that everytime I rotate it (45 degrees per frame), the dimensions change slightly on me. It's a circle with a height and width of 364 pixels. After rotating it clockwise 45 degrees, the new dimensions are 386.9 by 397.4. The result is a slight pulsing as the symbol rotates when the animtaion plays. I can't figure out what's happening, and it's SUPER frustrating.

View 5 Replies

ActionScript 2.0 :: Movieclip To Move Along The X-axis To A Certain Point And Then Back To The Starting Point Again?

Apr 12, 2007

It's been a long time since I've done any work with actionscript, and alas I've forgotten nearly everything. I've tried to look for a tutorial that would explain basic animation with actionscript, but the one that I found on Kirupa was no longer there.

Basically I'd like to do this:On the stage I have a movieclip and I'd like the movieclip to move along the x-axis to a certain point and then back to the starting point again. The moving speed of the movieclip should also be adjustable.

View 8 Replies

Professional :: Symbol Reference Point, Combine Files, Non-loop Instance?

Dec 26, 2011

1. When I make a symbol, I find the reference point always appear on the upper left corner, is there a way I can change the position of that?(besides use javascript?)

2. When I make a animated graphic Symbol, I drag into scene, it always repeat itself so I have to change the instance property to non-loop. Is there a preference which I can preset all the instance to non-loop?

3. if I make 2 animation character in 2 different flash file, how can I combine the 2 files but still keep the layer and key for each character?

View 6 Replies

Actionscript 3 :: Moving A Point With Rotation Doesn't Change The Point XY?

Jul 15, 2011

i have the follow issue :

I have a point which is setted at the border on a component, with changed transform point to the center of a component in order to match the component rotation.

the important part is when i try to get the point XY after rotation - they remains the same as before rotation.

how to get XY, after rotation ( changeing point.rotation property to specific degrees of rotaion )

View 2 Replies

Javascript :: 3D Rotation With Axis & Angle?

Sep 28, 2010

I know 3D rotation is well documented on SO and many other sites, but despite reading countless explanations I still haven't figured out where I'm going wrong. My background is in art and design, not math and programming, and I'm never really certain if my angle of attack (no pun intended) is the right one. Rather than paste a patchwork of my dismal code, I'm including an image describing my problem. What I'd really like is a step-by-step worded breakdown of how to solve it. Pseudo code is useful, but I will learn more if someone will just aim me in the right direction or point out common pitfalls.

[Code]...

View 3 Replies

ActionScript 3.0 :: Change Axis For Rotation Z?

Jan 8, 2010

Is there anyway to reposition the axis for rotation Z?

View 3 Replies

Motion Tween With Rotation Dropping On Y Axis

Oct 21, 2009

Is there a way to prevent a motion tween w/ rotation from dropping on the Y axis? Basically I used Free Transform to change the angle of a line, but it always lowers itself on the Y axis when I insert a motion tween in it.

View 1 Replies

IDE :: CS4: 3D Rotation Tool - Rotate A Movie Clip Along The X-axis On The Default Stage Size?

Mar 5, 2009

When I try to rotate a movie clip along the x-axis on the default stage size (I'm using a basic rectangle right now), the rotation appears just as I expect it to. It "rolls over" with the perspective even on both sides of the rectangle.

When I try to duplicate this in a movie with different dimensions (320x480) and apply the 3D Rotation Tool, the rectangle skews to the left for some reason. (See attached .fla files)

I've tried changing the registration points on the movie clips, I've tried making new files with the "Adjust 3D Perspective Angle to preserve current stage projection" box checked both on and off, and I've tried repositioning the actual Rotation Tool, but I can't figure out what's wrong. Could it have something to do with the stage resizing?!

View 4 Replies

ActionScript 2.0 :: Random Rotation Of Symbol?

Nov 23, 2005

how to rotate a symbol(wheel like wheel in fortune..) in random order and stop in a random order also using actionscript

View 4 Replies

Dial In Anchor Point For 3D Rotation?

Jul 13, 2009

Flash knows where the anchor point is in 3D space in order for the symbol to rotate around it, but I can't seem to figure out how to see the coordinates of the anchor point or type in new ones. Please tell me how to do this. I am already very annoyed that Lynda, a pay service, doesn't think this is vital information. Apparently they think we would never want to do anything more visually stimulating than one simple spinning logo! But I digress...

Just to be clear, I know how to move the anchor point visually on the stage, but I want accuracy. I want to be able to give two symbols the exact same coordinates to rotate around.

View 3 Replies

ActionScript 3.0 :: Rotation Point Outside Of An Object?

Nov 9, 2009

Im using A

Code:
function enterFrameHandler(event:Event):void
{

[code]........

View 7 Replies

ActionScript 3.0 :: Set Rotation Center Point?

Jul 9, 2010

I am new in action script 3... i am not able to rotate movie clip from center point(movile clip is a containear holding many clips).

View 9 Replies

ActionScript 3.0 :: Rotation Around A Point, With Easing?

Jan 6, 2012

I have encountered a need to build what amount to classic boardgame spinner.

1. When you click on the spinner it spins clockwise

2. There are several places where it can stop.

When the user clicks the spinner I run a method to determine where (what target) it should stop on.

How can I make the spinner spin a few times, decrease in speed (ease) then stop at a certain angle?

View 3 Replies

ActionScript 2.0 :: Setting The Rotation Point?

Oct 26, 2004

i'm working on a flash game at the moment, and i would like to know if i am able to set the point that the movieclip rotates around using actionscript.

i don't want to do it by simply moving all of the contents of the movieclip closer or nearer. is there any other way of doing it? i couldn't find any simple functions for it. am i just going to have to use some complicated maths?

[edit] rotation point, aka, registration point.[/edit]

View 3 Replies

ActionScript 2.0 :: MovieClip Rotation Point?

Nov 14, 2007

I am making a 'simple' template builder in flash which allows the user to add/remove text boxes and images to the stage.
I can rotate any of the movieClips fine but it rotates from the top left and i want it to rotate from midpoint. Is there a way to set the midpoint/rotation point using actionscript?

View 1 Replies

ActionScript 2.0 :: Random Movement - Make A MC Rotate On It's Axis (registration Point)

Jul 13, 2003

I'm trying to make a MC rotate on it's axis (registration point)...I want it to rotate both clockwise and counter-clockwise at random speeds and random degrees of rotation. For example...CW fast 90 degrees...then CCW slower for 150 degrees...then CW really fast for 270 degrees...etc..etc..

View 9 Replies

Flash :: Rotation Reference Point Centering?

Jan 30, 2011

I have the following problem. I have an MovieClip in a holder MC. I would like to turn the inner MC X with 'rotation' parameter, and still keep it in the holder mc to the right and bottom of the holder MC reference point. So after turning it should look like thatanyone can tell me how to do that? Basically a function that takes any X rotated in any degrees through X.rotation = ... and puts it back in place in the holder MC.

View 3 Replies

Flash :: Change 3D Registration Point For Rotation In AS3

Apr 18, 2011

Has anyone got a bit of code I can use to change the center point DisplayObjects rotate around in a 3D space? I need it to work with rotationX, rotationY and rotationZ. I know theres a workaround of wrapping every object in aother sprite and offsetting the x & y positions but I'd much prefer a math solution. As an example of the problem, this code should make a star shape:

[Code]...

View 1 Replies

ActionScript 3.0 :: Change The Rotation Point Of A Sprite?

Feb 4, 2008

I'm attempting to write a racing game. I've loaded in my image, I brought it to the stage and now, all I want to do is rotate it from its' center and not upper left corner.

The code:

racer.rotation += 5;

rotates from the upper left corner. How do I rotate from the center of the car/sprite? I've tried putting it into a container but I'm unsure on the coordinates of the container because I tried to set the x,y coordinates to half the sprite image but y'know, it's not doing what I expect it to.

ActionScript Code:
if (arrowLeft) {
var container:Sprite = new Sprite();

[Code]....

I will never sneer at another racing game! I didn't think it would be this hard to do a simple rotate of an image!

View 3 Replies

ActionScript 3.0 :: Rotation Around Internal Point On Click?

Sep 24, 2010

greetings, first of all sorry for my english. This question will probably looks more difficult than it is.

I have movieclip which I want to rotate around internal point few angles with click on certain button, and I manage to do it, but I want to see motion, or even put ease not only to immediately pop up in the place.

Code:
import flash.geom.Matrix;
import fl.motion.*;

[Code]...

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved