Wednesday, May 2, 2018

Math 5/2/18

This past week I have been working with a fair amount of math.
In my adventure to learn more about C# In unity I created a small demo where you can place blocks around a map.


The code above calculates the Camera's rotation angle in Euler angles and then rotates the block appropriately so that the block will always be moving the correct way no matter what the camera rotation is.

No comments:

Post a Comment