Hello, I have a 3D cube and I want to be able to use the 3D camera to pan around the cube on the X axis.
As an example: media.tenor.com/kALaOTg9xiYAAAAC/cube-square.gif
I have been fiddling with the 3D camera for a while and have not found anything that works. Am I doing something wrong? Any advice would be fantastic.
Develop games in your browser. Powerful, performant & highly capable.
you can create a dummy sprite with an orbit behavior rotating around the cube and get the coordinate and angle from the sprite, like in this example.
hope this helps you