Set default watch location above player's head.

The "pretend to be in 3rd person view" camera angle
never really worked, and using the actual F7 key
seems to override this anyway, so let's try setting the
default offset to to something more useful maybe.
This commit is contained in:
Aaron Suen 2019-12-11 22:30:29 -05:00
parent c7ea6daf36
commit fb77ef190c

View File

@ -163,8 +163,8 @@ local function watch_start(wparam, tparam)
data.target = tname
watchdata_set(wplayer, wname, data)
wplayer:set_attach(tplayer, "", vector.new(0, -5, -20), vzero)
wplayer:set_eye_offset(vector.new(0, -5, -20), vzero)
wplayer:set_attach(tplayer, "", vector.new(0, 5, 0), vzero)
wplayer:set_eye_offset(vector.new(0, 5, 0), vzero)
wplayer:set_properties({
visual_size = {x = 0, y = 0},
makes_footstep_sound = false,