From a96780e04d22c916921be996a6b99487efc4e569 Mon Sep 17 00:00:00 2001 From: the lemons Date: Sat, 27 Aug 2022 02:49:55 -0500 Subject: store the current camera as an attribute of the world --- Bolvis.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'Bolvis.lua') diff --git a/Bolvis.lua b/Bolvis.lua index 8d53c44..cf6a7e8 100644 --- a/Bolvis.lua +++ b/Bolvis.lua @@ -20,6 +20,7 @@ local Hand = component( function Bolvis:init(inst) inst.hand = self.obj.world:object(Hand {bolvis = self.obj}) inst.camera = self.obj.world:object(Camera {following = self.obj}) + inst.camera[Camera]:use() inst.blink = 10 end -- cgit v1.2.3