How to Create 3D Animations in Using Pyvista
I wrote some code to animate a satellite/body orbiting around Earth using Matplotlib. However, Matplotlib either sets the orbit behind or doesn’t display the orbit hierarchy layer correctly, despite setting different zorder values for each ax figure, as you can see in the images below. So instead, I decided to use Pyvista to plot the orbit in 3D. However, I can’t find the right way to animate the satellite orbiting the cental body and the rotation of it like in Matplotlib because I can’t find documentation on how to do it. Any idea how to animate it?