Tag Info

New answers tagged

2

From Unity 4.6 on the GUI system easily allows you to place any texture or sprite in screen space. It allows you to build complex HUDs including helath bar. See this video for an introduction


1

It looks like you are using a matrix to rotate the image when it is drawn. This does not change the position values you have stored in your class, but it does affect how the image is drawn. If you want to know where the 4 corners of the image are drawn you will have to keep track of them yourself. Same is true of the bounding box. If the bounding box is to ...



Top 50 recent answers are included