Is Uchuu Senkan Yamato 2 hentai?
English title: Star Blazers: The Comet Empire
No
Rated PG-13 (Teens 13 or older) on MyAnimeList and not tagged as Hentai.

TV · 1978 · 26 episodes · PG-13 - Teens 13 or older
Action, Adult Cast, Adventure, Drama, Military, Sci-Fi, Space
A year has passed since the Star Force returned to save the Earth but another danger now approaches from deep space. A gigantic White Comet hurtles toward our galaxy, obliterating everything in its path. But it is no ordinary comet—it is the deadly Comet Empire, conqueror of worlds... and Earth is the next target! Against orders, the Star Force blasts off to investigate, but even if they can get past the flagship Andromeda, they don't yet know the true nature of their new enemy! (Source: AniDB)
View on MyAnimeListShare
Check another title