Message Boards Message Boards

[✓] Rotate a 3D Object?

GROUPS:

I want to rotate earth about z axis but it gives me error that object is not 3d Graphics

enter image description here

POSTED BY: mohameddonia2222
Answer
1 month ago

You apply GeometricTransformation to the primitives of Planet, that you extract with [[1]]:

Graphics3D[
 GeometricTransformation[Planet[[1]], 
  RotationTransform[Pi/3, {0, 0, 1}]]]
POSTED BY: Gianluca Gorni
Answer
1 month ago

Sorry, this is the right answer… I didn't quite understand what was done…

POSTED BY: Sander Huisman
Answer
1 month ago

Use Show rather than Graphics3D…

POSTED BY: Sander Huisman
Answer
1 month ago

Group Abstract Group Abstract