About using unreal engine 4 for explicit sexual content, and making money from it

Epic doesn’t police the content of its Unreal Engine users. The only related restriction is that the content be legal (the license is for “any lawful purpose.” Generally, most adult content is legal, although there are limits to that, particularly depending on where you’re operating.