Centre viewport

i was centring my viewport to an object, at one point i moved the view by using the hand. now i cant get the viewport back to the last position, even if i centre the viewport at another object, same displacment i did applies in the viewport from the last object. even if i centre viewport to 3D cruser which is located at world origin.
when i say centring viewport i mean locking view to object.


object body is the one visible at the top.

You have enabled “Lock to Object”. Look at middle right under View Lock.

Nope, this is the Viewport when lock to object is enabled

‘Lock to Object’ is set to the object ‘Body’ and what is that cube we can see?
Then could it be that your ‘Body’ is centered but it’s clipped in any way?
Now i see ‘Body’ is the whole collection… no idea

Backslash “/” on NumPad. Sets the focus on the selected object(s). And set the clip start to a smaller number (.001), so your objects wont disappear when you zoom in closer.

I don’t have a numpad sadly, but I appreciate it

That cube is the object the view is locked on named “body”. “Body” is located above world origin, my mistake is that I moved the view using the little hand above the camera view icon.

Body as an object. I did not know what happened in the object hierarchy.

I will try the same button that is located somewhere in the letters.