This page goes through how to create the 3D Game using the Unity Engine.
The advantage of using this engine is that it lets you make the game for any system. I will install it using Windows but you can also run it on your Mac if you wish to.
Visual Studio Community allows you to install the Unity Engine.
You then run the Unity Hub and need to create an account. Unity is free to use as a hobby game maker if you make less than $100K on your game if you plan to sell it.
You then install the Unity IDE. I have installed it for Windows and Visual Studio Community.
Some documentation on Unity is here: