Orbiting Camera Library
#library #lua #lovr #plugin #script #gamedev

Josip Miskovic 6ef7446c14 Add 3rd person camera example há 1 ano atrás
3rd-person-example 6ef7446c14 Add 3rd person camera example há 1 ano atrás
orbit-example 6ef7446c14 Add 3rd person camera example há 1 ano atrás
LICENSE 36ec8ff743 Readme & MIT license há 2 anos atrás
README.md 6b10302b61 Vertical panning with left+middle click há 2 anos atrás
cam.lua 6b10302b61 Vertical panning with left+middle click há 2 anos atrás

README.md

lovr-cam

Tiny orbiting camera module for LÖVR.

To use, simply place require('cam').integrate() at the end of your main.lua file. More advanced usage example is included.

Mouse controls:

  • left click + drag - orbit camera around the center
  • middle click + drag - pan camera; move the center
  • left + middle + drag - pan camera vertically
  • wheel up / down - zoom in and out