Copy link to clipboard
Copied
Hello!
I was wondering if there is a way to 3D rotate an object at a 45 degree angle?
And what I mean by that is... instead of rotating on the X,Y, or Z axis.. can I dictate my own axis for the object to rotate on?
The red object is the object that I'm trying to 3D rotate. Blue is the axis I want to rotate on.
The final result looking like this.. like folding a piece of paper.
Please helppppp
Yes - probably the most flexible way is to use a null as a parent.
I'm assuming here that the triangle shown in the top image is NOT already rotated... but has been created 'as shown'.
1. Create yourself a null object, make it 3D and position the top left corner of the null over the edge you want to rotate.
2. set the orientation of the null to: 0.0, 0.0, 45 (45 degrees on the Z axis).
3. parent the shape to the null.
4. animate the X rotation value of the null
Copy link to clipboard
Copied
Move the anchor point to any edge you want.
Copy link to clipboard
Copied
Yes - probably the most flexible way is to use a null as a parent.
I'm assuming here that the triangle shown in the top image is NOT already rotated... but has been created 'as shown'.
1. Create yourself a null object, make it 3D and position the top left corner of the null over the edge you want to rotate.
2. set the orientation of the null to: 0.0, 0.0, 45 (45 degrees on the Z axis).
3. parent the shape to the null.
4. animate the X rotation value of the null
Copy link to clipboard
Copied
As Mike Abbott said, parenting is the solution. Orient the parent first, then parent, then rotate the parent. If the triangle is a shape layer you can turn on Snapping or hold down the shift key as you drag the null around so that it snaps to the line. This is easier to do if both layers are 3D when you are lining up the edges.
Copy link to clipboard
Copied
Thank you Mike!
This worked absolutely perfectly.
I followed all your steps and now I can animate what I intended.
Thank you so much!
Copy link to clipboard
Copied
Glad to be of help : )
PS : Rick Gerard already has more than enough forum points - he doesn't need any more! : )
Copy link to clipboard
Copied
Oops. I accidentally marked his answer as the correct one instead of yours.
Fixed!