hello
I would like to know how to attach an arrow to show what direction the fps controller is facing. I am using the below method to get the power I will use to throw the stone. The directional arrow is so i can see what direction the fps controller is facing when I switch the camera view so i still know what direction ill be throwing the mentioned stone. The stone is an object that is thrown at targets.
void OnGUI() {
hSbarValue = GUI.HorizontalScrollbar(new Rect(25, 25, 100, 30), Mathf.PingPong(Time.time*5.0f, 19), 1.0F, 0.0F, 19.0F);
}
I would also like the arrow to change the its size depending on the power off that method.
I dont have a clue how to do this so any help would be appreciated.
Thanking you