You may use included code in game engines that allow the game engine to run. But not any assets. Say unity has rigid body physics built into unity you can use that. But if it’s a pre-made first person character then that counts as an asset.
Good luck!