prismarine-viewer icon indicating copy to clipboard operation
prismarine-viewer copied to clipboard

Lock camera on player

Open 3top1a opened this issue 3 years ago • 1 comments

You can pan around the world with the right mouse button, but that is also the button to move. The right mouse button would become an offsetter, with the camera being at playerPos + offset

EDIT: Ctrl/Shift + right is also pan

3top1a avatar Dec 22 '20 20:12 3top1a

With orbit controls you can set .target equal to the Vector3 position of the player, so when you rotate the map that becomes the center point.

extremeheat avatar Dec 28 '20 11:12 extremeheat