Question: I'm building a 3D game but i only plan on using a 2D perspective thus not taking the z axis into the equasion,
i want to be able to limit the movement of one of my models so it doesn't move out of the unmoving field of view,

when i was designing 2D it was simple just use clamp, but i cant seem to figurebout how to do this in 3d

any help would be much appreciated

Regards

Answer: 
Just use `Vector3.Clamp(Vector3 value1, Vector3 min, Vector3 max)` and use the constructor on Vector3 that takes a Vector2 and an int (for z value).
So you want in pseudocode:

```
if (object.position+movementVec is in view of camera)
   object.position+=movementVec;

```