Tuesday, February 14, 2017

Day 8: Troubleshooting and Moving Camera

So the problem last class was that the ball wouldn't move when I tested the game. The script was correct and attached to the ball, and the proper controls were assigned, so that wasn't the problem. Apparently, it was a simple setting in the inspector that was messing it up; I had speed set to 0.











Problem solved, time to continue.

To make the camera move with the ball, I simply dragged the camera to the sphere (player) to make the camera a 'child' of the sphere. This forces the camera to move same distance as the sphere,





And apparently it also follows the orientation of the sphere...
Next class I will figure out how to stop that.

No comments:

Post a Comment