queasycam icon indicating copy to clipboard operation
queasycam copied to clipboard

Comments in Maze Example

Open jrc03c opened this issue 8 years ago • 3 comments

I need to add some comments in the maze example to show the inheritance of variables like position in the Player class. (from this PR)

jrc03c avatar Jul 19 '16 13:07 jrc03c

Please Help! I am very confused about how to set and change the camera position in this library.

krhobeck avatar Mar 12 '18 04:03 krhobeck

@krhobeck, you can manually set the camera position by using the position property of the camera. The position is a 3D PVector. So, for example:

cam.position = new PVector(5, -3, 7.2);

jrc03c avatar Mar 12 '18 05:03 jrc03c

Ok, that clears up everything, I was doing position = new PVector(x, y,z); and it wasn't working.

krhobeck avatar Mar 12 '18 17:03 krhobeck