# Question for PeasyCam: Auto positioning

**URL:** <https://discourse.processing.org/t/question-for-peasycam-auto-positioning/23867>\
**Category:** Libraries\
**Created:** [September 15, 2020, 9:38am UTC](https://discourse.processing.org/t/question-for-peasycam-auto-positioning/23867 "2020-09-15T09:38:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Gus\_Fermin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gus_fermin/32/5851_2.png) [@Gus\_Fermin](https://discourse.processing.org/u/Gus_Fermin)\
**Post date:** [May 26, 2022, 4:55am UTC](https://discourse.processing.org/t/question-for-peasycam-auto-positioning/23867/3 "2022-05-26T04:55:19Z")

</div>

Hi there…

Reading here found this other post that I think you should see, because of its relation to your post. I found it yesterday looking for a way to save the `cam.setState` so that I was able to return to that exact camera view while writing. I tried to print to the console  
`cam.setState` and I got this output, changing between keystrokes.

state1 = peasy.CameraState@127eec75  
state1 = peasy.CameraState@419b289a  
state1 = peasy.CameraState@3a64d831  
state1 = peasy.CameraState@4d23537d

Is this output what you refer to as “serialized” ? sort of like when you try to see the actual position / location? in an array… I was expecting some coordinates (x, y, z) of the position of the camera in that 3D space…  
Have not used it yet. Will install manually as I do not see it in the Contribution Manager. The states get saved to a JSON file. Excited to try it  
🙂

FPVCam by @LuisFerreira

> [@First Person View Cam (FPVCam)](https://discourse.processing.org/t/first-person-view-cam-fpvcam/22816):
>
> Hello everyone, I spent some time searching for ways or libraries to move a camera with the WASD keys but i could never find something, until now… I didn’t want to reinvent the wheel, and since Peasycam is one of the most popular camera libraries that exists, i tried to add more functionality to it, and named it First Person View Cam (FPSVCam) And it works! Most of the time… there’s still a bug with the movement when the look-at direction is almost parallel with an axis. Would someone accept t…

---

_[View the full topic](https://discourse.processing.org/t/question-for-peasycam-auto-positioning/23867)._
