Skip to main content
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Source Link

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying themSet rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

The gray Suzanne represents your sphere. Note that it rotates 360° around the Z and 360&deg around the X. Rotating around these axes will not make it rotate around a imaginary diagonal like you seem to expecting.

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

The gray Suzanne represents your sphere. Note that it rotates 360° around the Z and 360&deg around the X. Rotating around these axes will not make it rotate around a imaginary diagonal like you seem to expecting.

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

The gray Suzanne represents your sphere. Note that it rotates 360° around the Z and 360&deg around the X. Rotating around these axes will not make it rotate around a imaginary diagonal like you seem to expecting.

attempted to explain anyway
Source Link
gandalf3
  • 158.3k
  • 60
  • 612
  • 1.1k

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

The gray Suzanne represents your sphere. Note that it rotates 360° around the Z and 360&deg around the X. Rotating around these axes will not make it rotate around a imaginary diagonal like you seem to expecting.

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

The gray Suzanne represents your sphere. Note that it rotates 360° around the Z and 360&deg around the X. Rotating around these axes will not make it rotate around a imaginary diagonal like you seem to expecting.

added 236 characters in body
Source Link
gandalf3
  • 158.3k
  • 60
  • 612
  • 1.1k

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here

This is because you seem to want to rotate around a custom axis, rather than two axes at once.

One way to do this:

  1. Align one of the object's local axes to the axis you wish to rotate around. If you don't want to rotate your actual mesh, see Set rotation values without applying them.

In this screenshot I've rotate a sphere so that it's local Z is aligned around the axis I wish to roll it along:

enter image description here

  1. Add an empty and animate it spinning around the axis you aligned (so in this case I've animated it rotating 360° around the Z)

  2. Add a copy rotation constraint to the sphere and select the empty as the target (note that you can press E while hovering over the object selection drop down to select an object in the 3D view). Then disable the axes you don't want to be copied and set the rotation to be "pasted" in the sphere's local space:

enter image description here

  1. Animate the location of the sphere and you are good to go. Note that the sphere has no rotation keyframes, the rotation is done on the empty and copied with the constraint.

enter image description here


To explain what is happening when you rotate around two axes at once, hopefully this gif can make it clearer:

enter image description here

It's hard to explain :P

Source Link
gandalf3
  • 158.3k
  • 60
  • 612
  • 1.1k
Loading